diff options
author | 2018-09-26 13:39:34 +0300 | |
---|---|---|
committer | 2018-10-10 09:13:20 +0900 | |
commit | 72ea0321088df2c41eca8cc6160c24bcceb56ac7 (patch) | |
tree | fb8a445b0bf4ff97635282e4edc2c799fbc60e3a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 9p locks: fix glock.client_id leak in do_lock (diff) | |
download | linux-dev-72ea0321088df2c41eca8cc6160c24bcceb56ac7.tar.xz linux-dev-72ea0321088df2c41eca8cc6160c24bcceb56ac7.zip |
9p: potential NULL dereference
p9_tag_alloc() is supposed to return error pointers, but we accidentally
return a NULL here. It would cause a NULL dereference in the caller.
Link: http://lkml.kernel.org/m/20180926103934.GA14535@mwanda
Fixes: 996d5b4db4b1 ("9p: Use a slab for allocating requests")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions