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+8af00519a8688d990...@syzkaller.appspotmail.com 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.