929622f85f
libsystemd integration Resolves: #1827564 - CVE-2020-11945 squid: improper access restriction upon Digest Authentication nonce replay could lead to remote code execution
28 lines
794 B
Diff
28 lines
794 B
Diff
diff --git a/configure b/configure
|
|
index 17b2ebf..9530f6b 100755
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -33915,6 +33915,7 @@ done
|
|
fi
|
|
if test "x$SYSTEMD_LIBS" != "x" ; then
|
|
CXXFLAGS="$SYSTEMD_CFLAGS $CXXFLAGS"
|
|
+ LDFLAGS="$SYSTEMD_LIBS $LDFLAGS"
|
|
|
|
$as_echo "#define USE_SYSTEMD 1" >>confdefs.h
|
|
|
|
diff --git a/src/Debug.h b/src/Debug.h
|
|
index 6eecd01..ddd9e38 100644
|
|
--- a/src/Debug.h
|
|
+++ b/src/Debug.h
|
|
@@ -99,6 +99,10 @@ public:
|
|
|
|
/// configures the active debugging context to write syslog ALERT
|
|
static void ForceAlert();
|
|
+
|
|
+ /// prefixes each grouped debugs() line after the first one in the group
|
|
+ static std::ostream& Extra(std::ostream &os) { return os << "\n "; }
|
|
+
|
|
private:
|
|
static Context *Current; ///< deepest active context; nil outside debugs()
|
|
};
|