]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Zero the buffer containing the .gnu_debuglink section before writing
authorColin Percival <cperciva@FreeBSD.org>
Thu, 11 Nov 2010 00:29:19 +0000 (00:29 +0000)
committerColin Percival <cperciva@FreeBSD.org>
Thu, 11 Nov 2010 00:29:19 +0000 (00:29 +0000)
commit4a56bb2033a88767445c20fe2df5da3dc331f18f
treec5363f8c633d0fac0650e52fcb40e46a3fdd8447
parent0ea0127a4db7e850a4d7f5ed08eb7078b82c95bb
Zero the buffer containing the .gnu_debuglink section before writing
into it.  Prior to this commit the .gnu_debuglink section can have up
to 3 bytes of uninitialized garbage; as a result, .ko files could
change vary between builds.

Approved by: dim
MFC after: 7 days
contrib/binutils/bfd/opncls.c