Skip to content
Commit 29fdc8f9 authored by Jukka Rissanen's avatar Jukka Rissanen Committed by Anas Nashif
Browse files

drivers: eth: mcux: Fix buffer overflow



If we were trying to send max MTU size data, then the temporary
frame_buf was overflowing because it only allocated 1500 bytes
for the buffer but then copied 1514 bytes into it (max mtu +
ethernet header).

Signed-off-by: default avatarJukka Rissanen <jukka.rissanen@linux.intel.com>
parent 0d9a9bef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment