]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
lib: Fix CID 1453985: Null pointer dereferences (FORWARD_NULL)
authorVolker Lendecke <vl@samba.org>
Tue, 24 Sep 2019 16:24:54 +0000 (09:24 -0700)
committerRalph Boehme <slow@samba.org>
Wed, 2 Oct 2019 08:01:40 +0000 (08:01 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/lib/tallocmsg.c

index 42cbe2d9c025600dcd6084aa41cdffa0069a2cc9..1e243e77781a50813387042803c127bbd8e082ae 100644 (file)
@@ -61,6 +61,7 @@ static void msg_pool_usage_do(struct tevent_req *req)
                close(rec->fds[0]);
                TALLOC_FREE(rec);
                DBG_DEBUG("fdopen failed: %s\n", strerror(errno));
+               return;
        }
 
        TALLOC_FREE(rec);