diff options
author | Tedd Ho-Jeong An <tedd.an@intel.com> | 2021-12-08 14:39:21 -0800 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2021-12-08 16:56:18 -0800 |
commit | 9968b0b66abf6dec89f68447d7158608c105c17c (patch) | |
tree | f886c75016fad7ec76b7f1395743a8fc19b4dd6d /plugins | |
parent | a11eea9259212fca4d028746c3107258021a8554 (diff) | |
download | bluez-9968b0b66abf6dec89f68447d7158608c105c17c.tar.gz |
tools/btgatt-server: 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 'plugins')
0 files changed, 0 insertions, 0 deletions