diff options
author | Mathias Krause <[email protected]> | 2017-08-26 17:09:00 +0200 |
---|---|---|
committer | Steffen Klassert <[email protected]> | 2017-08-28 10:58:02 +0200 |
commit | 931e79d7a7ddee4709c56b39de169a36804589a1 (patch) | |
tree | e20cdb0427b15340a19bae03b341615b4095b09d /net/tipc | |
parent | e3e5fc1698ae35ac60d075b477e84accb96e2652 (diff) |
xfrm_user: fix info leak in build_aevent()
The memory reserved to dump the ID of the xfrm state includes a padding
byte in struct xfrm_usersa_id added by the compiler for alignment. To
prevent the heap info leak, memset(0) the sa_id before filling it.
Cc: Jamal Hadi Salim <[email protected]>
Fixes: d51d081d6504 ("[IPSEC]: Sync series - user")
Signed-off-by: Mathias Krause <[email protected]>
Signed-off-by: Steffen Klassert <[email protected]>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions