From: Wonsik Jung Date: Fri, 18 Aug 2023 03:28:48 +0000 (+0900) Subject: Fix Svace Issue X-Git-Tag: accepted/tizen/unified/20230821.103303^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8861a71a3026d98fee84cd93821bf952709975b9;p=platform%2Fcore%2Fuifw%2Faurum.git Fix Svace Issue Fix Svace Issue to check input param Change-Id: I259d8b1f8facc9e5b80eeee82f0782a3ce8ad112 --- diff --git a/pugixml/pugixml.cpp b/pugixml/pugixml.cpp index 60b55da..5f782d3 100644 --- a/pugixml/pugixml.cpp +++ b/pugixml/pugixml.cpp @@ -8042,6 +8042,7 @@ PUGI__NS_BEGIN PUGI__FN bool node_is_before_sibling(xml_node_struct* ln, xml_node_struct* rn) { + assert(ln && rn); assert(ln->parent == rn->parent); // there is no common ancestor (the shared parent is null), nodes are from different documents