diff options
author | Eric Sesterhenn <eric.sesterhenn@x41-dsec.de> | 2017-10-08 20:02:32 +0200 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2017-10-18 09:12:41 +0100 |
commit | 86744701eaebb79b104f1a204a332b2e42725ada (patch) | |
tree | d330e0eced105425621f949c7637ac319ee88a1f /crypto/ecc.h | |
parent | 5ed4da51cce662f0842ed5a3024a29719e441fbe (diff) | |
download | linux-crypto-86744701eaebb79b104f1a204a332b2e42725ada.tar.gz linux-crypto-86744701eaebb79b104f1a204a332b2e42725ada.zip |
pkcs7: Prevent NULL pointer dereference, since sinfo is not always set.
The ASN.1 parser does not necessarily set the sinfo field,
this patch prevents a NULL pointer dereference on broken
input.
Fixes: beba760d1ec2 ("PKCS#7: Appropriately restrict authenticated attributes and content type")
Signed-off-by: Eric Sesterhenn <eric.sesterhenn@x41-dsec.de>
Signed-off-by: David Howells <dhowells@redhat.com>
cc: stable@vger.kernel.org # 4.3+
Diffstat (limited to 'crypto/ecc.h')
0 files changed, 0 insertions, 0 deletions