Source-Changes archive

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

CVS commit: src/common/lib/libc/string



Module Name:    src
Committed By:   kre
Date:           Mon Oct  5 05:12:46 UTC 2026

Modified Files:
        src/common/lib/libc/string: memset2.c

Log Message:
PR port-mips/60780 UBSan: long int << fix (src/common/lib/libc/string/memset2.c)

The comments say that memword_t is intended to be unsigned, but
presume that __register_t will provide that attribute.   It usually
doesn't, so we need an unsigned type for building the fill value.

Thanks to Alexander Schreiber for running the UBSan built system
and reporting this (and others), and hopefully, in advance for
testing that this one is now fixed.

XXX - pullup -11 -10 (probably, it cannot possibly hurt)


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/common/lib/libc/string/memset2.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