You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but the only use of pkt_len happens before that, in line 1094.
Possible consequence: a big packet might cause a buffer overflow (probably in the vm memory instead of dynamips itself)
Discovered while converting to rust.
The text was updated successfully, but these errors were encountered:
flaviojs
changed the title
gt_sdma_handle_rxqueue does not truncate the packet length
gt_sdma_handle_rxqueue does not truncate the packet length correctly
Jul 17, 2024
gt_sdma_handle_rxqueue
truncates the value of pkt_len:dynamips/common/dev_gt.c
Lines 1098 to 1099 in 804ae0c
but the only use of pkt_len happens before that, in line 1094.
Possible consequence: a big packet might cause a buffer overflow (probably in the vm memory instead of dynamips itself)
Discovered while converting to rust.
The text was updated successfully, but these errors were encountered: