We do have some code, that is giving different results, between the
peeked and the actual:
https://github.com/FreeRTOS/FreeRTOS-Plus-
TCP/blob/9a25860e761036a9eb780799c9db632e3eff60c9/portable/NetworkInterface/MPS2_AN385/NetworkInterface.c#L237
We also have a fix to circumvent the problem by just
** Summary changed:
- lan9118 bug peeking receive massage size not equal to received message size
+ lan9118 bug peeked received message size not equal to actual received message
size
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
h
** Description changed:
peeked message size is not equal to read message size
Bug in the code at line:
https://github.com/qemu/qemu/blob/master/hw/net/lan9118.c#L1209
s->tx_status_fifo_head should be s->rx_status_fifo_head
+ Could also be a security bug, as the user could allocate
Public bug reported:
peeked message size is not equal to read message size
Bug in the code at line:
https://github.com/qemu/qemu/blob/master/hw/net/lan9118.c#L1209
s->tx_status_fifo_head should be s->rx_status_fifo_head
Thanks,
Alfred
** Affects: qemu
Importance: Undecided
Statu