Source-Changes archive

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

CVS commit: [netbsd-9] src/sys/lib/libsa



Module Name:    src
Committed By:   martin
Date:           Sat Jun  3 14:35:18 UTC 2023

Modified Files:
        src/sys/lib/libsa [netbsd-9]: subr_prf.c

Log Message:
Pull up following revision(s) (requested by rin in ticket #1636):

        sys/lib/libsa/subr_prf.c: revision 1.30

libsa/printf: Do not fetch long va_arg as long long.

This does real harm iff all of the following conditions are satisfied:
(1) On ILP32 architectures.
(2) Both LIBSA_PRINTF_LONGLONG_SUPPORT and LIBSA_PRINTF_WIDTH_SUPPORT
    compile-time options are enabled.
(3) Width field is used with 'l' modifier.

This is an implicit-fallthrough bug, but unfortunately, GCC 10.4 cannot
find this out somehow...


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.28.4.1 src/sys/lib/libsa/subr_prf.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