Author: arekm Date: Tue Mar 10 21:13:43 2009 GMT Module: SOURCES Tag: HEAD ---- Log message: - dnssd fix
---- Files affected: SOURCES: samba-dnssd.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SOURCES/samba-dnssd.patch diff -u /dev/null SOURCES/samba-dnssd.patch:1.1 --- /dev/null Tue Mar 10 22:13:43 2009 +++ SOURCES/samba-dnssd.patch Tue Mar 10 22:13:37 2009 @@ -0,0 +1,27 @@ +From: Volker Lendecke <[email protected]> +Date: Tue, 10 Mar 2009 15:08:38 +0000 (+0100) +Subject: Revert "Revert "Fix a valgrind error / segfault in dns_register_smbd()"" +X-Git-Url: http://gitweb.samba.org/?p=samba.git;a=commitdiff_plain;h=8cb0d6280ecc62d03ea6fb5e522f57a80d9e0262 + +Revert "Revert "Fix a valgrind error / segfault in dns_register_smbd()"" + +This reverts commit 96c57d26ed790b3e94c935cc4faf5661ea43a80c. + +It is REALLY, REALLY confusing that the 3_X_test build in the build farm +is 3.2 and NOT 3.3! +--- + +diff --git a/source/smbd/dnsregister.c b/source/smbd/dnsregister.c +index 6850d1a..ff9be43 100644 +--- a/source/smbd/dnsregister.c ++++ b/source/smbd/dnsregister.c +@@ -108,7 +108,8 @@ void dns_register_smbd(struct dns_reg_state ** dns_state_ptr, + struct dns_reg_state *dns_state = *dns_state_ptr; + + if (dns_state == NULL) { +- *dns_state_ptr = dns_state = talloc(NULL, struct dns_reg_state); ++ dns_state = talloc_zero(NULL, struct dns_reg_state); ++ *dns_state_ptr = dns_state; + if (dns_state == NULL) { + return; + } ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
