mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-08 12:01:56 +00:00
![Rene Ladan](/assets/img/avatar_default.png)
This fixes several security vulnerabilities and unexpires the port because it moves to Python 3. PR: 241347 Submitted by: lukas.slebodnik@intrak.sk (initial patch) MFH: 2020Q4 Security: CVE-2018-16838 Security: CVE-2019-3811
23 lines
715 B
C
23 lines
715 B
C
diff --git src/util/server.c src/util/server.c
|
|
index f34bf49f6..7cb3864af 100644
|
|
--- src/util/server.c
|
|
+++ src/util/server.c
|
|
@@ -311,10 +311,13 @@ static void setup_signals(void)
|
|
BlockSignals(false, SIGTERM);
|
|
|
|
#ifndef HAVE_PRCTL
|
|
- /* If prctl is not defined on the system, try to handle
|
|
- * some common termination signals gracefully */
|
|
- CatchSignal(SIGSEGV, sig_segv_abrt);
|
|
- CatchSignal(SIGABRT, sig_segv_abrt);
|
|
+ /* If prctl is not defined on the system, try to handle
|
|
+ * some common termination signals gracefully */
|
|
+ (void) sig_segv_abrt; /* unused */
|
|
+ /*
|
|
+ CatchSignal(SIGSEGV, sig_segv_abrt);
|
|
+ CatchSignal(SIGABRT, sig_segv_abrt);
|
|
+ */
|
|
#endif
|
|
|
|
}
|