Source-Changes archive

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

CVS commit: [netbsd-9] src/sys/kern



Module Name:    src
Committed By:   martin
Date:           Tue Oct 15 19:05:38 UTC 2019

Modified Files:
        src/sys/kern [netbsd-9]: sysv_msg.c

Log Message:
Pull up following revision(s) (requested by kamil in ticket #322):

        sys/kern/sysv_msg.c: revision 1.76

Avoid -LONG_MIN msgtyp in msgrcv(2) and treat it as LONG_MAX

This logic (found in Linux) avoids undefined behavior.


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.74.4.1 src/sys/kern/sysv_msg.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