Skip to content

Fix log for writing to nonexistent socket - #1889

Merged
vanosg merged 1 commit into
eggheads:developfrom
michaelortmann:fix.log
Apr 27, 2026
Merged

vanosg merged 1 commit into
eggheads:developfrom
michaelortmann:fix.log

Conversation

@michaelortmann

Copy link
Copy Markdown
Member

Found by: michaelortmann
Patch by: michaelortmann
Fixes:

One-line summary:
Fix log for writing to nonexistent socket

Additional description (if needed):
Bug was introduced by #1467.

Test cases demonstrating functionality (if applicable):

./configure --disable-tls
...
make
...
gcc -std=gnu99 -g -O2 -pipe -Wall -I.. -I..  -DHAVE_CONFIG_H -I/usr/include  -c net.c
net.c: In function ‘tputs’:
net.c:1394:33: warning: ‘%s’ directive argument is null [-Wformat-overflow=]
 1394 |     putlog(LOG_MISC, "*", "!-> '%s'", s2);
      |                                 ^~

@vanosg vanosg added this to the v1.10.2 milestone Apr 27, 2026
@vanosg
vanosg merged commit 3f8fb74 into eggheads:develop Apr 27, 2026
26 checks passed
@michaelortmann
michaelortmann deleted the fix.log branch April 27, 2026 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants