Replace random number generation function
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 2 repliesApplied
- v15 patches 1 replySuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | emulator: Replace random number generation functionemulator/ emulator/ | +17 | 1 reply | |
| 2/5 | peripheral: Replace random number generation functionperipheral/ | +6 | 0 replies | |
| 3/5 | tools/btgatt-server: Replace random number generation functiontools/ | +6 | 0 replies | |
| 4/5 | plugins: Replace random number generation functionplugins/ | +7 | 0 replies | |
| 5/5 | profiles/health: Replace random number generation functionprofiles/ profiles/ | +22 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [BlueZ V2 PATCH 0/5] Replace random number generation function
From: Tedd Ho-Jeong An <[email protected]>
The Coverity scan reported (CWE-676):
rand() should not be used for security-related applications, because linear congruential algorithms are too easy to break.
This series of patch replaces the standard random number generation function, rand(), to getrandom() syscall, which provides more secure random number than the standard rand() function.
Tedd Ho-Jeong An (5):
emulator: Replace random number generation function
peripheral: Replace random number generation function tools/btgatt-server: Replace random number generation function
plugins: Replace random number generation function profiles/health: Replace random number generation function
emulator/le.c | 11 +++++++++-- emulator/phy.c | 10 ++++++++-- peripheral/main.c | 11 ++++++----- plugins/autopair.c | 8 +++++++- profiles/health/hdp.c | 11 +++++++---- profiles/health/mcap.c | 17 +++++++++++++++-- tools/btgatt-server.c | 7 ++++++- 7 files changed, 58 insertions(+), 17 deletions(-)
Signature · 1 line
2.25.1