aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2019-02-01 14:20:58 -0800
committerLinus Torvalds <[email protected]>2019-02-01 15:46:23 -0800
commitdb7ddeab3ce5d64c9696e70d61f45ea9909cd196 (patch)
tree00ebee48361a1f0b67d25b327b1177f4b985eef7 /net/lapb/lapb_in.c
parentcefc7ef3c87d02fc9307835868ff721ea12cc597 (diff)
lib/test_kmod.c: potential double free in error handling
There is a copy and paste bug so we set "config->test_driver" to NULL twice instead of setting "config->test_fs". Smatch complains that it leads to a double free: lib/test_kmod.c:840 __kmod_config_init() warn: 'config->test_fs' double freed Link: http://lkml.kernel.org/r/20190121140011.GA14283@kadam Fixes: d9c6a72d6fa2 ("kmod: add test driver to stress test the module loader") Signed-off-by: Dan Carpenter <[email protected]> Acked-by: Luis Chamberlain <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions