diff options
author | Geliang Tang <[email protected]> | 2015-10-20 00:39:01 -0700 |
---|---|---|
committer | Tony Luck <[email protected]> | 2015-10-21 09:27:10 -0700 |
commit | 549b39a9e7ef3eee2d0895530f277c012abc7b43 (patch) | |
tree | 742b9ce0b00b89b861b21c7c336bc848c5734a99 /net/unix/af_unix.c | |
parent | 7379047d5585187d1288486d4627873170d0005a (diff) |
pstore: add vmalloc error check
If vmalloc fails, make write_pmsg return -ENOMEM.
Signed-off-by: Geliang Tang <[email protected]>
Acked-by: Kees Cook <[email protected]>
Signed-off-by: Tony Luck <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions