summaryrefslogtreecommitdiffstats
path: root/Documentation/laptops/asus-laptop.txt
diff options
context:
space:
mode:
authorJimmy Assarsson <jimmyassarsson@gmail.com>2018-08-06 15:14:49 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2018-11-09 17:20:03 +0100
commite13fb9b37cc00616b90df2d620f30345b5ada6ff (patch)
tree817f41d9635fe0224ab9d71ec20346353f2379b0 /Documentation/laptops/asus-laptop.txt
parent95217260649aa504eb5d4a0d50959ca4e67c8f96 (diff)
downloadlinux-e13fb9b37cc00616b90df2d620f30345b5ada6ff.tar.bz2
can: kvaser_usb: Fix accessing freed memory in kvaser_usb_start_xmit()
The call to can_put_echo_skb() may result in the skb being freed. The skb is later used in the call to dev->ops->dev_frame_to_cmd(). This is avoided by moving the call to can_put_echo_skb() after dev->ops->dev_frame_to_cmd(). Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Jimmy Assarsson <jimmyassarsson@gmail.com> Cc: linux-stable <stable@vger.kernel.org> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'Documentation/laptops/asus-laptop.txt')
0 files changed, 0 insertions, 0 deletions