NetBSD-Bugs archive

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

PR/60780 CVS commit: [netbsd-11] src/common/lib/libc/string



The following reply was made to PR port-mips/60780; it has been noted by GNATS.

From: "Martin Husemann" <martin%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/60780 CVS commit: [netbsd-11] src/common/lib/libc/string
Date: Wed, 14 Oct 2026 17:48:24 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Wed Oct 14 17:48:24 UTC 2026
 
 Modified Files:
 	src/common/lib/libc/string [netbsd-11]: memset2.c
 
 Log Message:
 Pull up following revision(s) (requested by kre in ticket #523):
 
 	common/lib/libc/string/memset2.c: revision 1.12
 
 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.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.11 -r1.11.10.1 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