]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Fix CID 1452291 Null pointer dereferences (NULL_RETURNS)
authorVolker Lendecke <vl@samba.org>
Wed, 14 Aug 2019 06:36:00 +0000 (08:36 +0200)
committerRalph Boehme <slow@samba.org>
Wed, 14 Aug 2019 07:39:38 +0000 (07:39 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/dosmode.c

index bdcdda69ac8a8d8af8a8b84ebe67db99f06bfd6e..173b90d2cd09364d9999c21fe6a9bdf235e27a52 100644 (file)
@@ -922,7 +922,7 @@ static void dos_mode_at_vfs_get_dosmode_done(struct tevent_req *subreq)
                                       NULL,
                                       &state->smb_fname->st,
                                       0);
-       if (tevent_req_nomem(path, req)) {
+       if (tevent_req_nomem(smb_path, req)) {
                return;
        }