-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] NULL Pointer Dereference in read_hexstring() at utils.c:309 #787
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
There is a NULL Pointer Dereference in
read_hexstring()
when the user passes empty user dlink string totcprewrite
with option--user-dlink
when the program process the pcap file whose data link type is DLT_USER0.To Reproduce
Steps to reproduce the behavior:
$ ./tcprewrite --user-dlink="" -i $POC -o /dev/null
The POC file could be downloaded in POC file
Expected behavior
Program crashes with Segmentation fault.
The GDB report is:
System (please complete the following information):
The text was updated successfully, but these errors were encountered: