node: Update to 8.12.0

Fixes several CVEs.

Added PKG_CPE_ID for proper CVE tracking.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2018-11-14 20:30:51 -08:00
parent 45917f59dc
commit 4173bf47e2
3 changed files with 7 additions and 31 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
--- a/lib/module.js
+++ b/lib/module.js
@@ -714,7 +714,8 @@
@@ -715,7 +715,8 @@
} else {
prefixDir = path.resolve(process.execPath, '..', '..');
}
@@ -1,25 +0,0 @@
From 34825d50db18631a92902af3f51ddd27aa074c90 Mon Sep 17 00:00:00 2001
From: Jeroen Roovers <jer-gentoo@users.noreply.github.com>
Date: Fri, 13 Apr 2018 05:54:42 +0200
Subject: [PATCH 2/2] Include cmath ...
... instead of using the C implementations of isnan and isinf
---
src/node_crypto.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/node_crypto.cc b/src/node_crypto.cc
index 7c0f65a5735..0aa4adbd467 100644
--- a/src/node_crypto.cc
+++ b/src/node_crypto.cc
@@ -36,9 +36,9 @@
#include "v8.h"
#include <algorithm>
+#include <cmath>
#include <errno.h>
#include <limits.h> // INT_MAX
-#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <vector>