[PATCH] D84050: [YAMLIO] Support non-null-terminated inputs
Scott Linder via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 16 15:20:22 PST 2020
scott.linder updated this revision to Diff 305612.
scott.linder marked an inline comment as done.
scott.linder edited the summary of this revision.
scott.linder added a comment.
I ran the fuzzer and quickly found two places I had missed. I've been running the fuzzer for about a half hour now and haven't seen another crash, so I am tentatively posting the patch. I'll leave the fuzzer running for as long as I reasonably can to try to find additional cases.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84050/new/
https://reviews.llvm.org/D84050
Files:
llvm/lib/Support/YAMLParser.cpp
llvm/tools/llvm-yaml-parser-fuzzer/yaml-parser-fuzzer.cpp
llvm/unittests/Support/YAMLIOTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84050.305612.patch
Type: text/x-patch
Size: 7293 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201116/0a579f54/attachment.bin>
More information about the llvm-commits
mailing list