Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid incrementing a pointer past the end
The ‘end’ parameter to ‘strtaglen’ might point past the end of an allocation. Therefore, if ‘start’ becomes equal to ‘end’, return an error without calling ‘memchr’ on that pointer.
- Loading branch information