diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2012-08-02 09:12:59 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-26 11:38:42 -0800 |
commit | b8e03e320f9156e870f8cc66b0d9fca9f24d36c8 (patch) | |
tree | 230886a24e185f2f8e2120f05456c823d47c62f9 /fs/ceph/debugfs.c | |
parent | 59238927cc8ea6c1e4a8a1136e17598648832db0 (diff) |
libceph: fix crypto key null deref, memory leak
(cherry picked from commit f0666b1ac875ff32fe290219b150ec62eebbe10e)
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/ceph/debugfs.c')
0 files changed, 0 insertions, 0 deletions