[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Thu May 17 15:29:02 UTC 2018


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 <asn at samba.org>
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 <asn at samba.org>
    Reviewed-by: Volker Lendecke <vl at samba.org>
    
    Autobuild-User(master): Volker Lendecke <vl at samba.org>
    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



More information about the samba-cvs mailing list