lkml.org 
[lkml]   [2023]   [Jan]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] net: usb: sr9700: Handle negative len
From
Date
Hello:

This patch was applied to netdev/net.git (master)
by Paolo Abeni <pabeni@redhat.com>:

On Sat, 14 Jan 2023 19:23:26 +0100 you wrote:
> Packet len computed as difference of length word extracted from
> skb data and four may result in a negative value. In such case
> processing of the buffer should be interrupted rather than
> setting sr_skb->len to an unexpectedly large value (due to cast
> from signed to unsigned integer) and passing sr_skb to
> usbnet_skb_return.
>
> [...]

Here is the summary with links:
- net: usb: sr9700: Handle negative len
https://git.kernel.org/netdev/net/c/ecf7cf8efb59

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html


\
 
 \ /
  Last update: 2023-03-26 23:44    [W:0.028 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site