The branch, master has been updated
       via  4470f01 s3:nmbd: fix talloc_zero_array() check in nmbd_packets.c
      from  60e4bd3 kcc: Don't check schedule if None

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


- Log -----------------------------------------------------------------
commit 4470f01605a2f09b054550ee5a8f8d3b4ebc2098
Author: Stefan Metzmacher <me...@samba.org>
Date:   Wed Feb 27 09:29:47 2013 +0100

    s3:nmbd: fix talloc_zero_array() check in nmbd_packets.c
    
    Signed-off-by: Stefan Metzmacher <me...@samba.org>
    Reviewed-by: Volker Lendecke <v...@samba.org>
    
    Autobuild-User(master): Volker Lendecke <v...@samba.org>
    Autobuild-Date(master): Fri Sep 23 18:08:21 CEST 2016 on sn-devel-144

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

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


Changeset truncated at 500 lines:

diff --git a/source3/nmbd/nmbd_packets.c b/source3/nmbd/nmbd_packets.c
index b608354..c9a2dc7 100644
--- a/source3/nmbd/nmbd_packets.c
+++ b/source3/nmbd/nmbd_packets.c
@@ -1724,7 +1724,7 @@ static bool create_listen_pollfds(struct pollfd **pfds,
        }
 
        attrs = talloc_array(NULL, struct socket_attributes, count);
-       if (fds == NULL) {
+       if (attrs == NULL) {
                DEBUG(1, ("create_listen_pollfds: malloc fail for attrs. "
                          "size %d\n", count));
                TALLOC_FREE(fds);


-- 
Samba Shared Repository

Reply via email to