summaryrefslogtreecommitdiff
path: root/src/raptor_xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/raptor_xml.c')
-rw-r--r--src/raptor_xml.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/raptor_xml.c b/src/raptor_xml.c
index d55ce56f..1093840f 100644
--- a/src/raptor_xml.c
+++ b/src/raptor_xml.c
@@ -716,6 +716,8 @@ raptor_xml_escape_string_any(raptor_world *world,
*q++ = ';';
}
} else {
+ /* coverity[negative_returns]
+ * negative unichar_len values are checked and cause return -1 above */
memcpy(q, p, unichar_len);
q+= unichar_len;
}