Source-Changes archive

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

CVS commit: src/sys/kern



Module Name:    src
Committed By:   kamil
Date:           Fri Oct  4 23:20:22 UTC 2019

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

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

This logic (found in Linux) avoids undefined behavior.

Reported-by: syzbot+8af00519a8688d9903ca%syzkaller.appspotmail.com@localhost


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 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