]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
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)
committerJames Morris <james.l.morris@oracle.com>
Fri, 1 Feb 2013 04:59:33 +0000 (15:59 +1100)
commit7810cc1e7721220f1ed2a23ca95113d6434f6dcd
tree4642aac5aae21cc87917875b150ef516cc666868
parent88b62b915b0b7e25870eb0604ed9a92ba4bfc9f7
digsig: Fix memory leakage in digsig_verify_rsa()

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>
Cc: stable@vger.kernel.org
Signed-off-by: James Morris <james.l.morris@oracle.com>
lib/digsig.c