diff options
author | Tom Lendacky <thomas.lendacky@amd.com> | 2016-04-13 15:52:25 (GMT) |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-04-15 14:13:56 (GMT) |
commit | f709b45ec461b548c41a00044dba1f1b572783bf (patch) | |
tree | 8bf82dcdad57d141c1ff585865bff2ced1fc7c6a /drivers/remoteproc/remoteproc_debugfs.c | |
parent | 0851561d9c965df086ef8a53f981f5f95a57c2c8 (diff) | |
download | linux-f709b45ec461b548c41a00044dba1f1b572783bf.tar.xz |
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: <stable@vger.kernel.org> # 3.14.x-
Reported-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/remoteproc/remoteproc_debugfs.c')
0 files changed, 0 insertions, 0 deletions