Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/sys
Module Name: src
Committed By: kamil
Date: Sun Jun 24 12:05:41 UTC 2018
Modified Files:
src/sys/sys: fd_set.h
Log Message:
Prevent signed integer left shift UB in FD_SET(), FD_CLR(), FD_ISSET()
Set the type of shifted integer 1 to unsigned int.
Detected with MKSANITIZER/UBSan in sysinst(8).
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/sys/fd_set.h
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