Kaydet (Commit) b12c835d authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1312139 random byte is deliberate

Change-Id: Iff546476256c87813b01a7db2c8331f926b7e3bd
üst a5f82cf7
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment