Skip to content

Commit e42ff4b

Browse files
ShogunPandaRafaelGSS
authored andcommittedJun 19, 2023
http: disable request smuggling via empty headers
PR-URL: nodejs-private/node-private#429 Refs: nodejs-private/node-private#427 Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> CVE-ID: CVE-2023-30589
1 parent 1a5c928 commit e42ff4b

File tree

5 files changed

+590
-424
lines changed

5 files changed

+590
-424
lines changed
 

‎deps/llhttp/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.5.1)
22
cmake_policy(SET CMP0069 NEW)
33

4-
project(llhttp VERSION 6.0.10)
4+
project(llhttp VERSION 6.0.11)
55
include(GNUInstallDirs)
66

77
set(CMAKE_C_STANDARD 99)

‎deps/llhttp/include/llhttp.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
#define LLHTTP_VERSION_MAJOR 6
55
#define LLHTTP_VERSION_MINOR 0
6-
#define LLHTTP_VERSION_PATCH 10
6+
#define LLHTTP_VERSION_PATCH 11
77

88
#ifndef LLHTTP_STRICT_MODE
99
# define LLHTTP_STRICT_MODE 0

‎deps/llhttp/llhttp.gyp

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
{
2+
'variables': {
3+
'llhttp_sources': [
4+
'src/llhttp.c',
5+
'src/api.c',
6+
'src/http.c',
7+
]
8+
},
29
'targets': [
310
{
411
'target_name': 'llhttp',
@@ -7,7 +14,9 @@
714
'direct_dependent_settings': {
815
'include_dirs': [ 'include' ],
916
},
10-
'sources': [ 'src/llhttp.c', 'src/api.c', 'src/http.c' ],
17+
'sources': [
18+
'<@(llhttp_sources)',
19+
],
1120
},
1221
]
1322
}

0 commit comments

Comments
 (0)