summaryrefslogtreecommitdiff
path: root/peripheral
diff options
context:
space:
mode:
authorTedd Ho-Jeong An <tedd.an@intel.com>2021-12-08 14:39:19 -0800
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2021-12-08 16:56:17 -0800
commitdf64c87022246022340f0f572b2737cd7ff886f8 (patch)
tree2075c058daf47235341ca9ab7fb8bd79af2a3d25 /peripheral
parent433f7cce3bc68a05bc7a977aa8e130065872ef3d (diff)
downloadbluez-df64c87022246022340f0f572b2737cd7ff886f8.tar.gz
emulator: Replace random number generation function
This patch replaces the rand() function to the getrandom() syscall. It was reported by the Coverity scan rand() should not be used for security-related applications, because linear congruential algorithms are too easy to break
Diffstat (limited to 'peripheral')
0 files changed, 0 insertions, 0 deletions