HomePhabricator

Fix null dereference in yaml::Document::skip

Authored by thomasfinch on Nov 11 2019, 8:48 PM.

Description

Fix null dereference in yaml::Document::skip

Summary: The attached test case replicates a null dereference crash in
yaml::Document::skip(). This was fixed by adding a check and early
return in the method.

Reviewers: Bigcheese, hintonda, beanz

Reviewed By: hintonda

Subscribers: hiraditya, dexonsmith, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D69974

Details

Committed
hintondaNov 11 2019, 8:48 PM
Reviewer
hintonda
Differential Revision
D69974: Fix null dereference in yaml::Document::skip
Parents
rG6ebec32b1265: gn build: Merge e9a06e06064
Branches
Unknown
Tags
Unknown