diff options
author | Tedd Ho-Jeong An <tedd.an@intel.com> | 2021-12-08 14:39:23 -0800 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2021-12-08 16:56:18 -0800 |
commit | 9320da5b102893cdac161b27fc7c325ea22119d6 (patch) | |
tree | 32938eae7b23da1faa0eb4532e1bc516ee0396c5 /emulator | |
parent | 6efadbcd07955587ff820c1e742c1458c48ae923 (diff) | |
download | bluez-9320da5b102893cdac161b27fc7c325ea22119d6.tar.gz |
profiles/health: 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 'emulator')
0 files changed, 0 insertions, 0 deletions