Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[core,security] process headers after combining folded headers
- this fixes various use-after-free scenarios (reported by Or Peles of VDOO): when parse_single_header stores pointers to header values in con->request, those pointers are not updated if the header value is reallocated when folded header lines are appended. - also remove trailing white-space from folded lines
- Loading branch information
Showing
1 changed file
with
42 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters