diff options
| author | Eric Biggers <[email protected]> | 2017-12-08 15:13:28 +0000 |
|---|---|---|
| committer | David Howells <[email protected]> | 2017-12-08 15:13:28 +0000 |
| commit | 8ecb506d3476aa58077e79ef1f75395625458fcc (patch) | |
| tree | ba19f50ebd9fd36dd9e38830c36207b4ef09996f /net/unix/af_unix.c | |
| parent | 509: fix printing uninitialized stack memory when OID is empty (diff) | |
| download | kernel-8ecb506d3476aa58077e79ef1f75395625458fcc.tar.gz kernel-8ecb506d3476aa58077e79ef1f75395625458fcc.zip | |
pkcs7: return correct error code if pkcs7_check_authattrs() fails
If pkcs7_check_authattrs() returns an error code, we should pass that
error code on, rather than using ENOMEM.
Fixes: 99db44350672 ("PKCS#7: Appropriately restrict authenticated attributes and content type")
Signed-off-by: Eric Biggers <[email protected]>
Signed-off-by: David Howells <[email protected]>
Reviewed-by: James Morris <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
