diff options
| author | Mathias Krause <minipli@googlemail.com> | 2017-08-26 17:09:00 +0200 |
|---|---|---|
| committer | Ben Hutchings <ben@decadent.org.uk> | 2017-11-11 13:33:29 +0000 |
| commit | 16ff4b32645396613b9d0e8707fa65143a36ee5a (patch) | |
| tree | 1709bce944829906f9b6b081bd40af25fdc8391e /include | |
| parent | 6e5fe5f1b4a5b89f37e67d604288fd14d4171653 (diff) | |
xfrm_user: fix info leak in build_aevent()
commit 931e79d7a7ddee4709c56b39de169a36804589a1 upstream.
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 <jhs@mojatatu.com>
Fixes: d51d081d6504 ("[IPSEC]: Sync series - user")
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
