]> The Tcpdump Group git mirrors - libpcap/commit
linux: null handlep->oneshot_buffer after freeing it.
authorGuy Harris <[email protected]>
Tue, 5 Oct 2021 22:16:30 +0000 (15:16 -0700)
committerGuy Harris <[email protected]>
Tue, 5 Oct 2021 22:19:15 +0000 (15:19 -0700)
commit0d8e0ea29ae107268103dc72246371f85d02a388
tree37d4f402e2484e73fca93a494a449b3a25ae3a8e
parentfa91341ab7647521c90b3e34c93026725bfb71dd
linux: null handlep->oneshot_buffer after freeing it.

That avoids double-free crashes on certain errors; see GitHub issue

(cherry picked from commit 892212ee18f0b45b56b19d58a0da55fa119e4a8d)
pcap-linux.c