summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2018-10-31 14:05:26 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-12-01 09:37:29 +0100
commite3b8d98e3758514443b39f9e719df03369f18d2b (patch)
tree79a847e86c238c7496d5509c7332cb2f97e90c29 /include
parentcfc8ed910312c97fbf7ddf3fca8e65cb76894fa5 (diff)
can: dev: __can_get_echo_skb(): Don't crash the kernel if can_priv::echo_skb is accessed out of bounds
commit e7a6994d043a1e31d5b17706a22ce33d2a3e4cdc upstream. If the "struct can_priv::echo_skb" is accessed out of bounds would lead to a kernel crash. Better print a sensible warning message instead and try to recover. Cc: linux-stable <stable@vger.kernel.org> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions