summaryrefslogtreecommitdiff
path: root/user/http-parser/remove-bogus-sizeof-test.patch
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2020-06-16 20:17:20 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2020-06-16 20:17:20 +0000
commit3cf07e57710a4a7921e7e8881a48401ce1d340a0 (patch)
tree508d5d6a0a3e663c1bc3d18786873e21826dfc4e /user/http-parser/remove-bogus-sizeof-test.patch
parentcc13890218a41c7a13b80872301206e0503e64b2 (diff)
parent4a0c1dc02f485ab73d15539cefd0cf5daeff6446 (diff)
downloadpackages-3cf07e57710a4a7921e7e8881a48401ce1d340a0.tar.gz
packages-3cf07e57710a4a7921e7e8881a48401ce1d340a0.tar.bz2
packages-3cf07e57710a4a7921e7e8881a48401ce1d340a0.tar.xz
packages-3cf07e57710a4a7921e7e8881a48401ce1d340a0.zip
Merge branch 'sec/node' into 'master'
user/node: [CVE] bump to 10.21.0 (#300), unvendor openssl See merge request adelie/packages!462
Diffstat (limited to 'user/http-parser/remove-bogus-sizeof-test.patch')
-rw-r--r--user/http-parser/remove-bogus-sizeof-test.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/user/http-parser/remove-bogus-sizeof-test.patch b/user/http-parser/remove-bogus-sizeof-test.patch
new file mode 100644
index 000000000..5f912fb5b
--- /dev/null
+++ b/user/http-parser/remove-bogus-sizeof-test.patch
@@ -0,0 +1,14 @@
+Upstream issues:
+https://github.com/nodejs/http-parser/issues/507
+https://github.com/nodejs/http-parser/pull/510
+
+--- http-parser-2.9.4/test.c 2020-03-24 05:54:06.000000000 -0500
++++ http-parser-2.9.4/test.c 2020-06-15 22:54:06.020315073 -0500
+@@ -4221,7 +4221,6 @@ main (void)
+ printf("http_parser v%u.%u.%u (0x%06lx)\n", major, minor, patch, version);
+
+ printf("sizeof(http_parser) = %u\n", (unsigned int)sizeof(http_parser));
+- assert(sizeof(http_parser) == 4 + 4 + 8 + 2 + 2 + 4 + sizeof(void *));
+
+ //// API
+ test_preserve_data();