diff options
-rw-r--r-- | comphelper/source/xml/xmltools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/xml/xmltools.cxx b/comphelper/source/xml/xmltools.cxx index 5473873625a8..b1fcc6a5b59a 100644 --- a/comphelper/source/xml/xmltools.cxx +++ b/comphelper/source/xml/xmltools.cxx @@ -80,8 +80,8 @@ namespace comphelper sal_Int8 n; rtl_random_getBytes(pool, &n, 1); - //1024 minus max -127/plus max 128 sal_Int32 nLength = 1024+n; + // coverity[tainted_data] - 1024 deliberate random minus max -127/plus max 128 std::vector<sal_uInt8> aChaff(nLength); rtl_random_getBytes(pool, &aChaff[0], nLength); |