Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-11] src/lib/libc/gen



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