]> git.baikalelectronics.ru Git - kernel.git/commit
ecryptfs: Fix memory leakage in keystore.c
authorGeyslan G. Bem <geyslan@gmail.com>
Fri, 11 Oct 2013 19:49:16 +0000 (16:49 -0300)
committerTyler Hicks <tyhicks@canonical.com>
Wed, 16 Oct 2013 22:18:01 +0000 (15:18 -0700)
commitd0b655a36ba96190572ec7062bd299975b832baf
tree285056122ff468ba24472764e76ef8633874e6d2
parentfd5a8107f7ba8281eefcabe4e50d7f0f1162c97f
ecryptfs: Fix memory leakage in keystore.c

In 'decrypt_pki_encrypted_session_key' function:

Initializes 'payload' pointer and releases it on exit.

Signed-off-by: Geyslan G. Bem <geyslan@gmail.com>
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Cc: stable@vger.kernel.org # v2.6.28+
fs/ecryptfs/keystore.c