comphelper/source/xml/xmltools.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b12c835d4de882a8156d28c95a3f931fadcdd3a7
Author: Caolán McNamara <caol...@redhat.com>
Date:   Thu Jul 23 12:14:39 2015 +0100

    coverity#1312139 random byte is deliberate
    
    Change-Id: Iff546476256c87813b01a7db2c8331f926b7e3bd

diff --git a/comphelper/source/xml/xmltools.cxx 
b/comphelper/source/xml/xmltools.cxx
index 5473873..b1fcc6a 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);
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to