diff options
| author | Bjorn Andersson <[email protected]> | 2023-07-17 16:55:38 +0000 |
|---|---|---|
| committer | Mathieu Poirier <[email protected]> | 2023-07-18 16:12:26 +0000 |
| commit | d629e5bcdfd9ba1c9da6da9144cc7ba43f04a6dc (patch) | |
| tree | 94a275173478a2c2668c2d1950c8f787e5b8186a /tools/perf/scripts/python/sched-migration.py | |
| parent | rpmsg: glink: Add check for kstrdup (diff) | |
| download | kernel-d629e5bcdfd9ba1c9da6da9144cc7ba43f04a6dc.tar.gz kernel-d629e5bcdfd9ba1c9da6da9144cc7ba43f04a6dc.zip | |
rpmsg: glink: Avoid dereferencing NULL channel
The newly introduced signal command handler checks for non-existing
channel and print an error message, but then continues on to dereference
that same channel.
Instead abort the handler when no channel is found.
Fixes: a2b73aa512a4 ("rpmsg: glink: Add support to handle signals command")
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Closes: https://lore.kernel.org/r/[email protected]/
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mathieu Poirier <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
