This repository has been archived by the owner on Jun 30, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#69] Fix potential out of bound write to p->buf
As reported via #69, there is a slight chance that 1 byte can overflow parser->buf[STACK_MAX] when adding the extra '\0' Added the macro `HTP_SET_BUF(CH)` which does proper bounds checks before writing the final '\0'.
- Loading branch information