Potential dereference of `nullptr` in libfuzzer harness?
hawkinsw opened this issue · 0 comments
hawkinsw commented
ubpf/libfuzzer/libfuzz_harness.cc
Line 118 in 2868ce4
According to CPPReference:
If size() is 0, data() may or may not return a null pointer.
That could cause a problem here if there is ever a case where the fuzzer generates an empty input. Is this something that we want to protect?