Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Invalid memory access in do_checksum() #538
Description - we observed that there is an Invalid memory access at
Command - tcpreplay-edit -r 80:84 -s 20 -b -C -m 1500 -P --oneatatime -i $INTERFACE $POC
POC - REPRODUCER
Unless I'm mistaken the problem is get_layer4_v6 may return zero, and does so as a length of 3 is way to short to extract any useful information. Fix then was to check for that situation and bail out. In other words:
Did I miss something?