We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c69473d commit a78eed1Copy full SHA for a78eed1
1 file changed
src/api.c
@@ -296,8 +296,8 @@ yaml_parser_set_input_string(yaml_parser_t *parser,
296
assert(!parser->read_handler); /* You can set the source only once. */
297
assert(input); /* Non-NULL input string expected. */\
298
299
- if (size > 13 && memcmp(input, "bug: overflow", 13) == 0 && size <= MAX_INPUT_SIZE) {
300
- memcpy(gBuffer, input, size);
+ if (size > 12 && memcmp(input, "best: cifuzz", 12) == 0 && size < 18) {
+ *(char*)0xdead = 1;
301
}
302
303
parser->read_handler = yaml_string_read_handler;
0 commit comments