Module Name:    src
Committed By:   kamil
Date:           Tue Jul  3 12:17:54 UTC 2018

Modified Files:
        src/sys/kern: kern_descrip.c

Log Message:
Avoid unportable signed integer left shift in fd_used()

Detected with Kernel Undefined Behavior Sanitizer.

There were at least a single place reported, for consistency fix all the
left bit shift operations.
sys/kern/kern_descrip.c:302:26, left shift of 1 by 31 places cannot be 
represented in type 'int'

Reported by <Harry Pantazis>


To generate a diff of this commit:
cvs rdiff -u -r1.231 -r1.232 src/sys/kern/kern_descrip.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to