From: Sylvain Munaut Date: Thu, 2 Aug 2012 16:12:59 +0000 (-0700) Subject: libceph: fix crypto key null deref, memory leak X-Git-Tag: v3.6-rc1~7^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0666b1ac875ff32fe290219b150ec62eebbe10e;p=pandora-kernel.git 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 Signed-off-by: Sage Weil Reviewed-by: Alex Elder --- Reading git-diff-tree failed