]> git.baikalelectronics.ru Git - kernel.git/commit
asus-wmi: potential NULL dereference in show_call()
authorDan Carpenter <error27@gmail.com>
Tue, 15 Mar 2011 07:07:37 +0000 (10:07 +0300)
committerMatthew Garrett <mjg@redhat.com>
Mon, 28 Mar 2011 10:46:07 +0000 (06:46 -0400)
commit6d074f10572f992041b64a935e3148813e182a68
tree5cd8b2d2c777256dd5f2b122d3c8a82bea5d1307
parente940849066dd02ac7ec407559880c290e87c66d6
asus-wmi: potential NULL dereference in show_call()

In the earlier check we assumed that "obj" could be NULL.  I looked at
some of the other places that call evaluate_object() and they check
for NULL as well.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/asus-wmi.c