-
Notifications
You must be signed in to change notification settings - Fork 681
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
Comments on improving FuzzTargetNg #1258
Comments
Thanks for reporting this issue @CWResearcher ! Can I ask what is Since you already analyzed the problem, would you consider introducing a fix? |
https://github.com/seladb/PcapPlusPlus/blob/master/Tests/Fuzzers/FuzzTarget.cpp If you are maintaining this source code, I recommend adding validation logic for NULL values in structure pointers. |
Got it thanks! @CWResearcher would you consider opening a PR with a fix? |
@CWResearcher I looked again at the screenshots you shared. In order to debug it and provide a fix I need the input file that was given to the fuzzer. The crash seems to be related to the pcapng file parser. Do you have this input file? |
@CWResearcher Thanks for reporting the issue. Fixed with #1636. Just for cross-referencing @seladb, with #1348 we should also consider full check of LightPcapNg source for possible problems. |
Description
A potential fuzz blocker has been identified in the pcapplusplus fuzzer within the OSS-Fuzz project, due to a null-pointer-dereference issue. We kindly request a review of the following report for further details and assessment.
Log
Analyze
Based on the crash log information, it seems that the cause of the crash was due to a NULL being passed as an argument to a structure pointer.
Below is a capture confirming that a NULL value is actually being passed as a function argument.
The text was updated successfully, but these errors were encountered: