Module Name: src Committed By: maxv Date: Mon Oct 14 16:27:04 UTC 2019
Modified Files: src/sys/kern: uipc_socket.c Log Message: Add a check before the memcpy. memcpy is defined to never take NULL as second argument, and the compiler is free to perform optimizations knowing that this argument is never NULL. In this particular case, it was harmless. But still good to fix. Reported-by: syzbot+6f504255accb795eb...@syzkaller.appspotmail.com To generate a diff of this commit: cvs rdiff -u -r1.284 -r1.285 src/sys/kern/uipc_socket.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.