summaryrefslogtreecommitdiff
path: root/sys/dev/microcode
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2022-05-31 00:35:18 +0000
committerrillig <rillig@NetBSD.org>2022-05-31 00:35:18 +0000
commit5fb2e5c53be42d98db0e9d65b041766201569270 (patch)
tree0d209e8086a900650179d137b47d16056b8a9325 /sys/dev/microcode
parentfcee1e06e19ded0fb4e70845e991cfdcf68f6ee7 (diff)
lint: fix null pointer dereference after syntax error
Found by afl, starting with the malformed input '/**/f=({;/**/};}' that no longer crashes. This input led to 'f=({L:;}', which is at least a syntactically valid prefix of a translation unit, containing a GCC statement expression with an unused label. The error message for this unused label assumed that it would always be inside a function definition. While here, document incomplete recovery after syntax errors, in msg_249.c.
Diffstat (limited to 'sys/dev/microcode')
0 files changed, 0 insertions, 0 deletions