commit | f0666b1ac875ff32fe290219b150ec62eebbe10e | [log] [tgz] |
---|---|---|
author | Sylvain Munaut <tnt@246tNt.com> | Thu Aug 02 09:12:59 2012 -0700 |
committer | Sage Weil <sage@inktank.com> | Thu Aug 02 09:19:20 2012 -0700 |
tree | 9f38d4c5ac83b77812692ccd2db6a880bf63cf9d | |
parent | 5ef50c3bec20060bc114f62d6503c5d86d70bdd7 [diff] |
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>