aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorMathias Krause <[email protected]>2012-08-15 11:31:55 +0000
committerDavid S. Miller <[email protected]>2012-08-15 21:36:31 -0700
commit7b07f8eb75aa3097cdfd4f6eac3da49db787381d (patch)
tree39298c02797359bcc83a7d552fe26fedb1ad665c /net/unix/af_unix.c
parent276bdb82dedb290511467a5a4fdbe9f0b52dce6f (diff)
dccp: fix info leak via getsockopt(DCCP_SOCKOPT_CCID_TX_INFO)
The CCID3 code fails to initialize the trailing padding bytes of struct tfrc_tx_info added for alignment on 64 bit architectures. It that for potentially leaks four bytes kernel stack via the getsockopt() syscall. Add an explicit memset(0) before filling the structure to avoid the info leak. Signed-off-by: Mathias Krause <[email protected]> Cc: Gerrit Renker <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions