packages/net/squid/patches/002-glibc-compile.patch
Marko Ratkaj 262eaa45c8 net: squid: bump version to 4.4
Simple bump from 4.3 to 4.4

Changelog since 4.3:
netdb not saving to disk ()
Fix memory leak when parsing SNMP packet ()
Fix several windows build issues ()
Certificate fields injection via %D in ERR_SECURE_CONNECT_FAIL ()
Allow compilation with minimal OpenSSL ()
Fixed %USER_CA_CERT_xx and %USER_CERT_xx crashes ()
Improve const correctness for hash_link ()
Bug : Malformed %>ru URIs for CONNECT requests ()

Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2018-11-06 18:23:57 +01:00

12 lines
241 B
Diff

--- a/src/tools.cc
+++ b/src/tools.cc
@@ -582,7 +582,8 @@
}
#else
- setuid(0);
+ if (setuid(0) < 0)
+ debugs(50, 1, "no_suid: setuid (0)");
#endif
#if HAVE_PRCTL && defined(PR_SET_DUMPABLE)
/* Set Linux DUMPABLE flag */