Skip to content

Commit 1a65e98

Browse files
ShogunPandamarco-ippolito
authored andcommitted
http: do not allow OBS fold in headers by default
Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Fixes: https://hackerone.com/reports/2237099 PR-URL: nodejs-private/node-private#556 CVE-ID: CVE-2024-27982
1 parent 3bd39fb commit 1a65e98

7 files changed

+294
-278
lines changed

deps/llhttp/.gitignore

-1
This file was deleted.

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 9.2.0)
4+
project(llhttp VERSION 9.2.1)
55
include(GNUInstallDirs)
66

77
set(CMAKE_C_STANDARD 99)

deps/llhttp/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ With this flag this check is disabled.
397397
Make sure you have [Node.js](https://nodejs.org/), npm and npx installed. Then under project directory run:
398398
399399
```sh
400-
npm install
400+
npm ci
401401
make
402402
```
403403

@@ -451,7 +451,7 @@ _Note that using the git repo directly (e.g., via a git repo url and tag) will n
451451

452452
1. Ensure that `Clang` and `make` are in your system path.
453453
2. Using Git Bash, clone the repo to your preferred location.
454-
3. Cd into the cloned directory and run `npm install`
454+
3. Cd into the cloned directory and run `npm ci`
455455
5. Run `make`
456456
6. Your `repo/build` directory should now have `libllhttp.a` and `libllhttp.so` static and dynamic libraries.
457457
7. When building your executable, you can link to these libraries. Make sure to set the build folder as an include path when building so you can reference the declarations in `repo/build/llhttp.h`.

deps/llhttp/include/llhttp.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
#define LLHTTP_VERSION_MAJOR 9
66
#define LLHTTP_VERSION_MINOR 2
7-
#define LLHTTP_VERSION_PATCH 0
7+
#define LLHTTP_VERSION_PATCH 1
88

99
#ifndef INCLUDE_LLHTTP_ITSELF_H_
1010
#define INCLUDE_LLHTTP_ITSELF_H_

0 commit comments

Comments
 (0)