This fixes issue #893 at https://github.com/the-tcpdump-group/libpcap/issues/893.
Created attachment 210052 [details] Patch to fix bug #893 This fixes https://github.com/the-tcpdump-group/libpcap/issues/893
Approved
Not worth merging into quarterly as this quarter is almost over.
Committed to my git repo. I'll git svn dcommit when my laptop will be connected to the network for a while.
A commit references this bug: Author: cy Date: Fri Dec 20 15:38:12 UTC 2019 New revision: 520515 URL: https://svnweb.freebsd.org/changeset/ports/520515 Log: Fix libpcap issue #893: check for invalid IPv4 addresses. This fixes errors such as: tcpdump -i lagg0 net 999.999.999.999 This was originally discovered on a Red Hat 7.7 server and verified to also be a bug on FreeBSD. PR: 242719 Submitted by: cy Reported by: cy Approved by: garga (maintainer) Obtained from: https://github.com/the-tcpdump-group/libpcap/commit/ \ 07070918d5e81a515315b395f334e52589fe0fb Fixed by: https://github.com/guyharris Changes: head/net/libpcap/Makefile head/net/libpcap/files/patch-gencode.c head/net/libpcap/files/patch-nametoaddr.c
cy@, if my closing this PR happens in error, please feel free to reopen, just a cleanup after a hint from Daniel Engberg.
Thanks, sorry for not closing this.