The branch, master has been updated
via cdd98aa s3:utils: Do not segfault on error in DoDNSUpdate()
from 83bde8a FIXUP: Improve memory handling on py_net_change_password
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit cdd98aa1e2116fb97e16718d115ee883fe1bc8ba
Author: Andreas Schneider <[email protected]>
Date: Thu May 17 11:53:18 2018 +0200
s3:utils: Do not segfault on error in DoDNSUpdate()
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13440
Signed-off-by: Andreas Schneider <[email protected]>
Reviewed-by: Volker Lendecke <[email protected]>
Autobuild-User(master): Volker Lendecke <[email protected]>
Autobuild-Date(master): Thu May 17 17:28:28 CEST 2018 on sn-devel-144
-----------------------------------------------------------------------
Summary of changes:
source3/utils/net_dns.c | 1 +
1 file changed, 1 insertion(+)
Changeset truncated at 500 lines:
diff --git a/source3/utils/net_dns.c b/source3/utils/net_dns.c
index d972a5d..9ee856c 100644
--- a/source3/utils/net_dns.c
+++ b/source3/utils/net_dns.c
@@ -75,6 +75,7 @@ DNS_ERROR DoDNSUpdate(char *pszServerName,
if (!ERR_DNS_IS_OK(err)) {
DEBUG(3,("DoDNSUpdate: failed to probe DNS\n"));
+ goto error;
}
if ((dns_response_code(resp->flags) == DNS_NO_ERROR) &&
--
Samba Shared Repository