]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Zero the whole struct not just the size of a pointer.
authoremaste <emaste@FreeBSD.org>
Mon, 19 Nov 2012 22:56:51 +0000 (22:56 +0000)
committeremaste <emaste@FreeBSD.org>
Mon, 19 Nov 2012 22:56:51 +0000 (22:56 +0000)
commit250448df7df4dcffc53c0c3bcf623365904ddc27
tree2636936d487923fd97928f1caef3dcb693e15171
parenta2abcf1a7a37b4eccefd542b2d89e78ed3c6dc99
Zero the whole struct not just the size of a pointer.

Found by: clang
tools/regression/sockets/unix_cmsg/unix_cmsg.c