Jim Klimov <[email protected]> writes:

> It seems bumping all those buffers to [NUT_PATH_MAX+1]` (for the NUL ending
> char) helps, and seems a reasonable thing to do safely.

Sure, if that helps that really seems sensible.

> the char subscripts only with CLANG (13), on my dormant NetBSD 9.2 VM.

NetBSD is louder about it, but ctype(3) is really hard to use correctly
and risks undefined behavior.

_______________________________________________
Nut-upsdev mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsdev

Reply via email to