The branch, master has been updated
       via  d4f7d9e libnmb: Fix CID 1428474 Incorrect expression 
(COPY_PASTE_ERROR)
      from  cbf743d Samba-VirusFilter: clamav VFS and man page.

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit d4f7d9e08ca690b8278b35690dfb9e4673c19e00
Author: Volker Lendecke <v...@samba.org>
Date:   Wed Jan 24 12:57:43 2018 +0100

    libnmb: Fix CID 1428474 Incorrect expression (COPY_PASTE_ERROR)
    
    Signed-off-by: Volker Lendecke <v...@samba.org>
    Reviewed-by: Andreas Schneider <a...@samba.org>
    
    Autobuild-User(master): Volker Lendecke <v...@samba.org>
    Autobuild-Date(master): Thu Jan 25 01:53:53 CET 2018 on sn-devel-144

-----------------------------------------------------------------------

Summary of changes:
 source3/libsmb/nmblib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/source3/libsmb/nmblib.c b/source3/libsmb/nmblib.c
index bac4340..5bfc129 100644
--- a/source3/libsmb/nmblib.c
+++ b/source3/libsmb/nmblib.c
@@ -840,7 +840,7 @@ static struct packet_struct *copy_packet_talloc(
                        ndst->additional = talloc_memdup(
                                pkt, nsrc->additional,
                                sizeof(struct res_rec) * nsrc->header.arcount);
-                       if (ndst->nsrecs == NULL) {
+                       if (ndst->additional == NULL) {
                                goto fail;
                        }
                }


-- 
Samba Shared Repository

Reply via email to