]> git.baikalelectronics.ru Git - kernel.git/commit
param: fix uninitialized read with CONFIG_DEBUG_LOCK_ALLOC
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 19 Jan 2015 22:37:04 +0000 (09:07 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 20 Jan 2015 01:08:31 +0000 (11:38 +1030)
commit593ae0f1fe6d2658ef84bc059b7e475b863adfb5
treeea48a4ea309a0f9c69dbf0949b52a8a763585156
parent562c184acd14719ab13ca542d509a9b855c35c8b
param: fix uninitialized read with CONFIG_DEBUG_LOCK_ALLOC

ignore_lockdep is uninitialized, and sysfs_attr_init() doesn't initialize
it, so memset to 0.

Reported-by: Huang Ying <ying.huang@intel.com>
Cc: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
kernel/params.c