projects
/
platform
/
core
/
uifw
/
aurum.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06323c7
)
Fix Svace Issue
14/297414/1
accepted/tizen/unified/20230821.103303
author
Wonsik Jung
<sidein@samsung.com>
Fri, 18 Aug 2023 03:28:48 +0000
(12:28 +0900)
committer
Wonsik Jung
<sidein@samsung.com>
Fri, 18 Aug 2023 03:30:05 +0000
(12:30 +0900)
Fix Svace Issue to check input param
Change-Id: I259d8b1f8facc9e5b80eeee82f0782a3ce8ad112
pugixml/pugixml.cpp
patch
|
blob
|
history
diff --git
a/pugixml/pugixml.cpp
b/pugixml/pugixml.cpp
index
60b55da
..
5f782d3
100644
(file)
--- 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