Source-Changes archive

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

CVS commit: src

Module Name:    src
Committed By:   mrg
Date:           Sun Jun  9 18:55:00 UTC 2024

Modified Files:
        src/lib/libc/citrus: citrus_module.c
        src/lib/libc/stdlib: strsuftoll.c

Log Message:
m68k vs GCC 12: apply -fno-stack-protector to a few things.

i've looked at the C code here and i can't see any real problems,
and in at least the strsuftoll.c case, i'm convinced it is not a
real problem for the reported case, and indicates a GCC bug.

for strsuftoll.c, this fixes basic parsing of almost any input.
the simple test case is "dd count=1".  in my testing, it was only
the front-end strsuftoll() that needs the checking removed, the
sub-functions are fine.

for citrus_module.c, this fixes "env LC_CTYPE=en_US.UTF-8 locale",
and i was able to reduce to only _citrus_find_getops().

for blake2_prov.c, i chose to apply to the whole file to avoid
editing a 3rd-party source.

these issues and their source-file fixes were discovered by rin@.

To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
cvs rdiff -u -r1.13 -r1.14 src/lib/libc/citrus/citrus_module.c
cvs rdiff -u -r1.9 -r1.10 src/lib/libc/stdlib/strsuftoll.c

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