Simple bump from 4.3 to 4.4 Changelog since 4.3: netdb not saving to disk (#311) Fix memory leak when parsing SNMP packet (#313) Fix several windows build issues (#309) Certificate fields injection via %D in ERR_SECURE_CONNECT_FAIL (#306) Allow compilation with minimal OpenSSL (#281) Fixed %USER_CA_CERT_xx and %USER_CERT_xx crashes (#301) Improve const correctness for hash_link (#300) Bug #4893: Malformed %>ru URIs for CONNECT requests (#299) Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
12 lines
241 B
Diff
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 */
|