digsig: Fix memory leakage in digsig_verify_rsa()
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Fri, 25 Jan 2013 14:54:20 +0000 (16:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Feb 2013 16:47:17 +0000 (08:47 -0800)
commitb0cc9fb10c1b7240b229b40391f8da2a987995bd
tree479d01601c939310c0da591f453b0d0d24e53cd4
parent398cc33fbceda864a91433b2a76bb510a640021a
digsig: Fix memory leakage in digsig_verify_rsa()

commit 7810cc1e7721220f1ed2a23ca95113d6434f6dcd upstream.

digsig_verify_rsa() does not free kmalloc'ed buffer returned by
mpi_get_buffer().

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@intel.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
lib/digsig.c