commit | e5ff367c7e077a6425aed06c174a4ababb9e0231 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Mon Jan 10 10:12:30 2022 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Tue Mar 15 11:36:42 2022 +0100 |
tree | 180401902ef0eba4128e136b2390d4ca8a782893 | |
parent | 78e6a02a4c06a5a04e2ae094c364d65d1cf286fe [diff] |
parser xml BUGFIX avoid invalid memory access Refs cesnet/libnetconf2#357
diff --git a/src/parser_xml.c b/src/parser_xml.c index c9b6145..7db2b9a 100644 --- a/src/parser_xml.c +++ b/src/parser_xml.c
@@ -1059,8 +1059,7 @@ /* custom elements */ r = lydxml_opaq_r(xmlctx, parent); LY_CHECK_GOTO(r, error); - - no_dup = 0; + continue; } check_child: