Details

[Home]

Issue of the Implementation # L0038

Brief

hfsplus: add error checking for hfs_find_init()

Detailed Description

hfs_find_init() may fail with ENOMEM, but there are places, where the returned value is not checked. The consequences can be very unpleasant, e.g. kfree uninitialized pointer and inappropriate mutex unlocking.

Component

linux-kernel 2.6.39

Accepted

https://lkml.org/lkml/2011/7/5/500
commit

Status

Fixed in kernel 3.1-rc1

[Home]