We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3326ba4 commit 8e8b396Copy full SHA for 8e8b396
src/generic/parser.h
@@ -318,6 +318,11 @@ static int32_t refill(parser_t *parser)
318
parser->file->buffer.length += (size_t)count;
319
parser->file->buffer.data[parser->file->buffer.length] = '\0';
320
parser->file->end_of_file = feof(parser->file->handle) != 0;
321
+
322
+ /* After the file, there is padding, that is used by vector instructions,
323
+ * initialise those bytes. */
324
+ memset(parser->file->buffer.data+parser->file->buffer.length+1, 0,
325
+ ZONE_BLOCK_SIZE);
326
return 0;
327
}
328
0 commit comments