-
Notifications
You must be signed in to change notification settings - Fork 872
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
gen_mcode6() segfaults on "host ::1" (OpenBSD 6.7 amd64) #964
Comments
I don't know what's wrong, but:
dnscap:/usr/lib/libc.so.96.0: /usr/local/lib/libbind.so.6.1 : WARNING: symbol(_res) size mismatch, relink your program
dnscap:/usr/lib/libc.so.96.0: /usr/local/lib/libbind.so.6.1 : WARNING: symbol(__p_type_syms) size mismatch, relink your program
This concerns me.
) at ./gencode.c:6805
6805 if ((a[0] & ~m[0]) || (a[1] & ~m[1])
This occurs after some calls to DNS resolver routines.
The a[] here points at results from the resolver outputs.
addr = &((struct sockaddr_in6 *)res->ai_addr)->sin6_addr;
a = (uint32_t *)addr;
Maybe struct addrinfo has changed?
…--
] Never tell me the odds! | ipv6 mesh networks [
] Michael Richardson, Sandelman Software Works | IoT architect [
] mcr@sandelman.ca http://www.sandelman.ca/ | ruby on rails [
|
Hmm, yeah that might be it actually. Will look more at this next week, old software, old dependency :/ |
I don't know when I will have time to look at this, but once I do and if it's still an issue I'll reopen then. Sorry for the noise! |
libpcap v1.9.1 on OpenBSD 6.7 amd64, no special compile flag just
./configure && make && make install
, full log at bottom.While adding tests to dnscap (DNS-OARC/dnscap#231) I ran into a segfault when using IPv6 addresses to filter host, this happened only on OpenBSD (https://dev.dns-oarc.net/buildbot/#/builders/22/builds/10).
Using the same filter with tcpdump v4.9.3 does not produce a segfault:
Full libpcap 1.9.1 compile and install log:
The text was updated successfully, but these errors were encountered: