[stable] key: Fix resource leak

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This fix is needed in stable branches 3.0.y, 3.2.y, 3.4.y and 3.5.7.z:

commit a84a921978b7d56e0e4b87ffaca6367429b4d8ff
Author: Alan Cox <alan@xxxxxxxxxxxxxxx>
Date:   Fri Sep 28 12:20:02 2012 +0100

    key: Fix resource leak
    
    On an error iov may still have been reallocated and need freeing
    
    Signed-off-by: Alan Cox <alan@xxxxxxxxxxxxxxx>
    Signed-off-by: David Howells <dhowells@xxxxxxxxxx>

The corresponding fix to the compat function was included in commit
8aec0f5d4137532de14e6554fd5dd201ff3a3c49 which also belongs in all of
those branches, but is currently missing in 3.0.y (needs backporting?)
and 3.5.7.z.

Ben.

-- 
Ben Hutchings
It is easier to write an incorrect program than to understand a correct one.

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]