NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/58208 CVS commit: [netbsd-11] src/lib/libc/gen
The following reply was made to PR lib/58208; it has been noted by GNATS.
From: "Martin Husemann" <martin%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/58208 CVS commit: [netbsd-11] src/lib/libc/gen
Date: Sun, 19 Oct 2025 10:21:19 +0000
Module Name: src
Committed By: martin
Date: Sun Oct 19 10:21:19 UTC 2025
Modified Files:
src/lib/libc/gen [netbsd-11]: ctype.3
Log Message:
Pull up following revision(s) (requested by riastradh in ticket #59):
lib/libc/gen/ctype.3: revision 1.34
lib/libc/gen/ctype.3: revision 1.35
ctype(3): Clarify test program output. Update compiler warning.
Should be a little easier to read. The fact that isprint returns
_any_ nonzero value, not necessarily 1, isn't germane to the point
here, so showing it return 5 or 2 doesn't really help to illustrate
anything.
ctype(3): Fix versions and clarify what LIBC_ALLOWCTYPEABUSE does.
Both the extra diagnostics _and_ LIBC_ALLOWCTYPEABUSE are new in 11.
The extra diagnostics were not added in 10 (unless someone went ahead
and pulled them up while I wasn't looking!).
LIBC_ALLOWCTYPEABUSE doesn't guarantee that the program won't crash;
it just makes that depend on factors such as address space layout
randomization -- where the ctype tables appear in memory relative to
non-readable pages.
PR lib/58208: ctype(3) provides poor runtime feedback of abuse
To generate a diff of this commit:
cvs rdiff -u -r1.31.14.1 -r1.31.14.2 src/lib/libc/gen/ctype.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index