]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
CVE-2022-3592 lib: lib/util/fault.h requires _SAMBA_DEBUG_H for SMB_ASSERT()
authorVolker Lendecke <vl@samba.org>
Sat, 15 Oct 2022 11:26:48 +0000 (13:26 +0200)
committerJule Anger <janger@samba.org>
Tue, 25 Oct 2022 10:31:34 +0000 (10:31 +0000)
fault.h has:

which leads to SMB_ASSERT not being defined when you include
samba_util.h (and thus fault.h) before debug.h.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=15207
Signed-off-by: Volker Lendecke <vl@samba.org>
source3/lib/util_path.c

index 5b7c01b05e3988a0fa36f0786dce4d14f227e57f..33827fcf89450e84d457d7ac3c316895fe155bbc 100644 (file)
@@ -23,8 +23,8 @@
 
 #include "replace.h"
 #include <talloc.h>
-#include "lib/util/samba_util.h"
 #include "lib/util/debug.h"
+#include "lib/util/samba_util.h"
 #include "lib/util_path.h"
 
 struct loadparm_substitution;