summaryrefslogtreecommitdiff
path: root/include/uapi/linux/rpmsg.h
diff options
context:
space:
mode:
authorBjorn Andersson <quic_bjorande@quicinc.com>2023-07-17 09:55:38 -0700
committerMathieu Poirier <mathieu.poirier@linaro.org>2023-07-18 10:12:26 -0600
commitd629e5bcdfd9ba1c9da6da9144cc7ba43f04a6dc (patch)
tree94a275173478a2c2668c2d1950c8f787e5b8186a /include/uapi/linux/rpmsg.h
parentb5c9ee8296a3760760c7b5d2e305f91412adc795 (diff)
downloadlinux-d629e5bcdfd9ba1c9da6da9144cc7ba43f04a6dc.tar.gz
linux-d629e5bcdfd9ba1c9da6da9144cc7ba43f04a6dc.tar.bz2
linux-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 <lkp@intel.com> Reported-by: Dan Carpenter <dan.carpenter@linaro.org> Closes: https://lore.kernel.org/r/202307160800.sb7gMnL6-lkp@intel.com/ Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com> Link: https://lore.kernel.org/r/20230717165538.1542034-1-quic_bjorande@quicinc.com Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'include/uapi/linux/rpmsg.h')
0 files changed, 0 insertions, 0 deletions