Invalid read of size 1 #1

Open
opened 2021-07-23 16:17:00 +00:00 by hellerve · 0 comments
Owner

An invalid read can occur at the very end of parsing. I was unable to find out exactly how we go out of bounds, since a check for the null terminator happens directly before the offending part.

To reproduce, one can run:

clang -fsanitize=address -g examples/parser_simple.c && a.out example.cfg

Cheers

An invalid read can occur at the very end of parsing. I was unable to find out exactly how we go out of bounds, since a check for the null terminator happens directly before the offending part. To reproduce, one can run: ``` clang -fsanitize=address -g examples/parser_simple.c && a.out example.cfg ``` Cheers
hellerve self-assigned this 2021-07-23 16:17:00 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: degrowth/cfg#1
No description provided.