Open hawkinsw opened 4 months ago
https://github.com/iovisor/ubpf/blob/2868ce441b37a816a066bb0d7890107492571ca4/libfuzzer/libfuzz_harness.cc#L118
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?
https://github.com/iovisor/ubpf/blob/2868ce441b37a816a066bb0d7890107492571ca4/libfuzzer/libfuzz_harness.cc#L118
According to CPPReference:
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?