summaryrefslogtreecommitdiff
path: root/testing/libfuzzer
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-11-01 14:40:44 -0700
committerCommit bot <commit-bot@chromium.org>2016-11-01 14:40:44 -0700
commit919e48d877e503f1ca250bc37324c9f7dc96d7a9 (patch)
tree8802cd4009c0eb0230fc18907b6628a134adff40 /testing/libfuzzer
parent8837c91c0db8f9205b7e58db97946e9af7958b39 (diff)
downloadpdfium-919e48d877e503f1ca250bc37324c9f7dc96d7a9.tar.xz
libfuzzer: FALSE is not a pointer
BUG=661291 TBR=dsinclair@chromium.org Review-Url: https://codereview.chromium.org/2469923002
Diffstat (limited to 'testing/libfuzzer')
-rw-r--r--testing/libfuzzer/pdf_xml_fuzzer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/libfuzzer/pdf_xml_fuzzer.cc b/testing/libfuzzer/pdf_xml_fuzzer.cc
index 199cba2996..37b4a760df 100644
--- a/testing/libfuzzer/pdf_xml_fuzzer.cc
+++ b/testing/libfuzzer/pdf_xml_fuzzer.cc
@@ -32,7 +32,7 @@ CFDE_XMLNode* XFA_FDEExtension_GetDocumentNode(
pNextNode;
pNextNode = pNextNode->GetNodeItem(CFDE_XMLNode::NextSibling)) {
if (pNextNode->GetType() == FDE_XMLNODE_Element) {
- return FALSE;
+ return nullptr;
}
}
}