]> git.baikalelectronics.ru Git - kernel.git/commit
lib/btree: fix possible NULL pointer dereference
authorkirjanov@gmail.com <kirjanov@gmail.com>
Sat, 15 May 2010 16:32:34 +0000 (12:32 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 15 May 2010 19:48:10 +0000 (12:48 -0700)
commitce9ef124c9a743e2286ffaff6f8a3749b0cd7438
tree8ebbe9c6053c6552de8ee120384afb1b02bf8f47
parent9cd3fdc7cb87ba0abd15502661fdf491c3030018
lib/btree: fix possible NULL pointer dereference

mempool_alloc() can return null in atomic case.

Signed-off-by: Denis Kirjanov <kirjanov@gmail.com>
Cc: Joern Engel <joern@logfs.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/btree.c