Hello,
I do computer security studies and I wanted to test Coverity, a source
code analysis tool. If you're interested, I corrected a problem in
/pcap-linux.c/ file: uninitialized variable (/req.tp_frame_size/).
You will find above the Github commit.
https://github.com/peugnezb/libpcap/commi
It's funny, I have finished working on this issue yesterday. I detected
with a fuzzer.
I fixed it like this:
#define ND_TTEST2(var, l) ((uintptr_t)(ndo->ndo_snapend >= (l) && \
(const u_char *)&(var) <= ndo->ndo_snapend - (l))
With a debug function in the file "print-snm