mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
6lowpan: read data from skb safely
Check if skb buffer can pull requested amount of bytes and return an error in opposite case. Signed-off-by: Alexander Smirnov <alex.bluesman.smirnov@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1d5873e9d7
commit
c5d3687f6c
1 changed files with 38 additions and 32 deletions
Loading…
Add table
Add a link
Reference in a new issue