Quantcast
Channel: Linux | Kernel
Viewing all articles
Browse latest Browse all 165258

[PATCH] rc: correctly handling failed allocation

$
0
0
Since rc_allocate_device() uses kmalloc, it can returns NULL, so need to check, otherwise, NULL derefenrece can be happened. Signed-off-by: Insu Yun

Viewing all articles
Browse latest Browse all 165258

Trending Articles