ref: 7c9bb193bcd464c3979a8d1e534b7b0950050935
parent: 7d4b97ec8e94875d05f2344b71691e8ecb77e71c
author: Julian Smith <[email protected]>
date: Mon Nov 18 06:25:16 EST 2019
Coverity: try using C++ comment style for 'coverity[ -tainted_data_return ]' E.g. for: https://scan4.coverity.com/reports.htm#v46841/p11408/fileInstanceId=69767421&defectInstanceId=11904740&mergedDefectId=95049
--- a/jbig2.c
+++ b/jbig2.c
@@ -191,7 +191,7 @@
return get_uint16(bptr);
}
-/* coverity[ -tainted_data_return ] */
+// coverity[ -tainted_data_return ]
int32_t
jbig2_get_int32(const byte *bptr)
{
@@ -198,7 +198,7 @@
return ((int32_t) get_int16(bptr) << 16) | get_uint16(bptr + 2);
}
-/* coverity[ -tainted_data_return ] */
+// coverity[ -tainted_data_return ]
uint32_t
jbig2_get_uint32(const byte *bptr)
{