Details

[Home]

Issue of the Implementation # L0102

Brief

hfs: 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 3.9

Accepted

https://lkml.org/lkml/2013/4/9/522
commit

Status

Fixed in kernel 3.10-rc1

[Home]