-
Bug
-
Resolution: Out of scope
-
P1: Critical
-
5.10.1, 5.11.0
-
None
-
Win7
Win10
-
-
6543f5053 (dev), 30d40a889 (6.8), 5a685653b (dev), f21f2bef1 (dev), 29d68f23c (6.10), 6bc4d5e8e (6.10), 2392fd448 (tqtc/lts-6.8), 4d0e04543 (tqtc/lts-6.5), 1a6ec63b9 (dev), b37af6422 (6.10)
I currently use QTemporaryFile on to generate unique names (template length of 8 X). On some win 7 & 10 systems I get bonkers results:
LHILHILH.pdf OtNOtNOt.pdf ZLsZLsZL.pdf
As you can see the template repeats after three characters. Reading the source code at https://github.com/qt/qtbase/blob/4ba535616b8d3dfda7fbe162c6513f3008c1077a/src/corelib/io/qtemporaryfile.cpp#L168 it becomes clear that one call to QRandomGenerator::generate serves as randomness for 3 characters. This is fine; but the issue I am seeing here is that subsequent calls generate the same random number. This happens only for on customer and I do not even know where to start debugging this...