Re: [PATCH] mm: Check for NULL return values from allocating functions

2013-10-18 Thread Jan Kara
On Thu 17-10-13 07:49:34, Laura Abbott wrote: > A security audit revealed that several functions were not checking > return value of allocation functions. These allocations may return > NULL which may lead to NULL pointer dereferences and crashes or > security concerns. Fix this by properly checkin

[PATCH] mm: Check for NULL return values from allocating functions

2013-10-17 Thread Laura Abbott
A security audit revealed that several functions were not checking return value of allocation functions. These allocations may return NULL which may lead to NULL pointer dereferences and crashes or security concerns. Fix this by properly checking the return value and handling the error appropriatel