Commit: 9968b0b66abf6dec89f68447d7158608c105c17c
Parent: a11eea9259212fca4d028746c3107258021a8554
Author: Tedd Ho-Jeong An <tedd.an@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2021-12-09 02:56:18
Tree: f886c75016fad7ec76b7f1395743a8fc19b4dd6d

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

M tools/btgatt-server.c | 7 ++++++-

1 files changed, 6 insertions(+), 1 deletions(-)

View Full Diff | Patch