Commit Graph

7 Commits

Author SHA1 Message Date
Mario Fetka
44a309de40 nwserv: escape SAP names in debug logs
All checks were successful
Source release / source-package (push) Successful in 45s
SAP service names are fixed-size 48-byte fields and are not guaranteed to be
safe C strings in diagnostics.  Some NetWare 6.5 SAP service types advertise
non-printable or high-bit bytes in the name field, which made the debug log
hard to read and could run past the intended protocol field if logged with a
plain %s.

Add bounded formatting for SAP names used in debug output.  Stop at NUL within
the fixed field, keep printable ASCII unchanged, and escape other bytes as
\\xNN.

This is logging-only and does not change SAP/RIP protocol behavior.
2026-05-29 21:51:57 +02:00
Mario Fetka
0ae7503930 Interrupt blocking shutdown syscalls in nwbind and ncpserv 2026-04-20 23:39:42 +02:00
Mario Fetka
eab9c16971 Add shutdown tracing for nwserv, nwbind and ncpserv 2026-04-20 23:39:42 +02:00
Mario Fetka
9087018b59 Handle ignored return values in extpipe and fix route/server format warnings 2026-04-20 23:39:42 +02:00
Mario Fetka
54ef2e43fc Patch for newer gcc 2026-03-28 06:54:54 +01:00
Mario Fetka
35d12ee7aa Update to pld patches and integrate koan patch 2013-11-05 11:54:31 +01:00
Mario Fetka
0fbc9baf41 Restructure for camke build 2011-11-13 17:37:22 +01:00