summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2019-10-10 10:09:38 -0700
committerThiago Macieira <thiago.macieira@intel.com>2019-10-11 10:55:52 -0700
commit7fbadeddc14304d595aeaaaa6d398dcb21d86404 (patch)
tree2b73862cd7fc44fdf83299fc8b06beca676450ab /src/plugins
parentd79726e9ebf65d1722f73d56cbc2ac68c7489a45 (diff)
Fix infinite recursion caused by the RDSEED feature
We made qRandomCpu() call qCpuHasFeature(), which needs to test that RDRND works and does so by calling qRandomCpu(). So disentangle that by making sure we don't recurse. And by making sure that we fill the buffer with RDRND data, not with RDSEED. Fixes: QTBUG-79162 Change-Id: Ib5d667bf77a740c28d2efffd15cc583a9afcb97a Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/plugins')
0 files changed, 0 insertions, 0 deletions