Skip to content
Commit 43aa7ac7 authored by kirjanov@gmail.com's avatar kirjanov@gmail.com Committed by Linus Torvalds
Browse files

lib/btree: fix possible NULL pointer dereference



mempool_alloc() can return null in atomic case.

Signed-off-by: default avatarDenis Kirjanov <kirjanov@gmail.com>
Cc: Joern Engel <joern@logfs.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent bdef2fe8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment