aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTom Lendacky <[email protected]>2016-04-13 10:52:25 -0500
committerHerbert Xu <[email protected]>2016-04-15 22:13:56 +0800
commitf709b45ec461b548c41a00044dba1f1b572783bf (patch)
tree8bf82dcdad57d141c1ff585865bff2ced1fc7c6a /lib
parent0851561d9c965df086ef8a53f981f5f95a57c2c8 (diff)
crypto: ccp - Prevent information leakage on export
Prevent information from leaking to userspace by doing a memset to 0 of the export state structure before setting the structure values and copying it. This prevents un-initialized padding areas from being copied into the export area. Cc: <[email protected]> # 3.14.x- Reported-by: Ben Hutchings <[email protected]> Signed-off-by: Tom Lendacky <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions