diff options
author | Tedd Ho-Jeong An <tedd.an@intel.com> | 2021-12-08 14:39:19 -0800 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2021-12-08 16:56:17 -0800 |
commit | df64c87022246022340f0f572b2737cd7ff886f8 (patch) | |
tree | 2075c058daf47235341ca9ab7fb8bd79af2a3d25 /peripheral | |
parent | 433f7cce3bc68a05bc7a977aa8e130065872ef3d (diff) | |
download | bluez-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