summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorDouglas Anderson <dianders@chromium.org>2026-02-15 12:05:55 -0800
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>2026-02-16 12:20:50 +0100
commit6af6be278e3ba2ffb6af5b796c89dfb3f5d9063e (patch)
treeb447939390291be673d5c94265cfe6fbf9fdd112 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parent58433885ee99e8c96757e82ccf6d50646c4dfe09 (diff)
gpio: cdev: Avoid NULL dereference in linehandle_create()
In linehandle_create(), there is a statement like this: retain_and_null_ptr(lh); Soon after, there is a debug printout that dereferences "lh", which will crash things. Avoid the crash by using handlereq.lines, which is the same value. Fixes: da7e394bf58f ("gpio: convert linehandle_create() to FD_PREPARE()") Signed-off-by: Douglas Anderson <dianders@chromium.org> Link: https://patch.msgid.link/20260215120555.v2.1.I77c3eb563271c21870379eefd16ebbc4e09635bb@changeid Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions