a444030e64
Version 10.22.1 'Dubnium' (LTS) Notable changes This is a security release. Vulnerabilities fixed: CVE-2020-8252: fs.realpath.native on may cause buffer overflow (Medium). Version 10.22.0 'Dubnium' (LTS) Notable changes deps: * upgrade npm to 6.14.6 * upgrade openssl sources to 1.1.1g n-api: * add napi_detach_arraybuffer
13 lines
729 B
C++
13 lines
729 B
C++
$NetBSD: patch-src_inspector__agent.cc,v 1.2 2020/10/02 12:23:54 adam Exp $
|
|
|
|
--- src/inspector_agent.cc.orig 2020-09-15 13:25:39.000000000 +0000
|
|
+++ src/inspector_agent.cc
|
|
@@ -102,7 +102,7 @@ static int StartDebugSignalHandler() {
|
|
CHECK_EQ(0, uv_sem_init(&start_io_thread_semaphore, 0));
|
|
pthread_attr_t attr;
|
|
CHECK_EQ(0, pthread_attr_init(&attr));
|
|
-#if defined(PTHREAD_STACK_MIN) && !defined(__FreeBSD__)
|
|
+#if defined(PTHREAD_STACK_MIN) && !defined(__FreeBSD__) && !defined(__NetBSD__)
|
|
// PTHREAD_STACK_MIN is 2 KB with musl libc, which is too small to safely
|
|
// receive signals. PTHREAD_STACK_MIN + MINSIGSTKSZ is 8 KB on arm64, which
|
|
// is the musl architecture with the biggest MINSIGSTKSZ so let's use that
|