-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
On FreeBSD 8-RC1 we're seeing the following problem (reported by a user):
http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/138061
The attached patch, provided by a user named Volker
([email protected]) reportedly fixes this problem.
Is this patch something that would be adopted? Is it reasonable for me
to apply it in our tree?
Thanks,
Doug
- --
Improve the effectiveness of your Internet presence with
a domain name makeover! http://SupersetSolutions.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (FreeBSD)
iEYEAREDAAYFAkrSK2wACgkQyIakK9Wy8PuGDACgx7RrIvETHH867OKyGc9m46k+
Dp4AoOOIBjONP17E+8YIhpSVon2BUiPX
=VOtG
-----END PGP SIGNATURE-----
--- contrib/bind9/bin/dig/dighost.c.orig 2009-09-13 14:24:13.000000000
+0000
+++ contrib/bind9/bin/dig/dighost.c 2009-09-13 14:31:52.000000000 +0000
@@ -2604,11 +2604,13 @@
if (sevent->result == ISC_R_CANCELED) {
debug("in cancel handler");
- isc_socket_detach(&query->sock);
- sockcount--;
- INSIST(sockcount >= 0);
- debug("sockcount=%d", sockcount);
- query->waiting_connect = ISC_FALSE;
+ if (query->sock != NULL) {
+ isc_socket_detach(&query->sock);
+ sockcount--;
+ INSIST(sockcount >= 0);
+ debug("sockcount=%d", sockcount);
+ query->waiting_connect = ISC_FALSE;
+ }
isc_event_free(&event);
l = query->lookup;
clear_query(query);
_______________________________________________
bind-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/bind-users