summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-07-23 12:14:39 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-07-23 12:14:39 +0100
commitb12c835d4de882a8156d28c95a3f931fadcdd3a7 (patch)
tree67ba25412e9081f7e3bc79b1cb47c31f676a7d88 /comphelper
parenta5f82cf7eb393d0c4265e4876b155dc875a05f43 (diff)
coverity#1312139 random byte is deliberate
Change-Id: Iff546476256c87813b01a7db2c8331f926b7e3bd
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/xml/xmltools.cxx2
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);