diff options
author | Sylvain Munaut | 2012-08-02 18:12:59 +0200 |
---|---|---|
committer | Sage Weil | 2012-08-02 18:19:20 +0200 |
commit | f0666b1ac875ff32fe290219b150ec62eebbe10e (patch) | |
tree | 9f38d4c5ac83b77812692ccd2db6a880bf63cf9d /mm/bootmem.c | |
parent | ceph: simplify+fix atomic_open (diff) | |
download | kernel-qcow2-linux-f0666b1ac875ff32fe290219b150ec62eebbe10e.tar.gz kernel-qcow2-linux-f0666b1ac875ff32fe290219b150ec62eebbe10e.tar.xz kernel-qcow2-linux-f0666b1ac875ff32fe290219b150ec62eebbe10e.zip |
libceph: fix crypto key null deref, memory leak
Avoid crashing if the crypto key payload was NULL, as when it was not correctly
allocated and initialized. Also, avoid leaking it.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Alex Elder <elder@inktank.com>
Diffstat (limited to 'mm/bootmem.c')
0 files changed, 0 insertions, 0 deletions