Closed
Description
From @josephlm on March 11, 2015 22:52
The code in recvfrom() in libraries/Ethernet/src/utility/socket.cpp does not check the length of the buffer (buf) passed before copying data from Wiznet shield buffer into the application's passed buffer.
If 'data_len' is bigger than 'len' then the only 'len' bytes should be copied to the application's passed buffer, otherwise 'data_len' bytes should be copied to the application's passed buffer.
Copied from original issue: arduino/Arduino#2756
Metadata
Metadata
Assignees
Labels
No labels