]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: haterm: avoid static analyzer warnings about rand() use
authorFrederic Lecaille <flecaille@haproxy.com>
Mon, 23 Feb 2026 09:39:59 +0000 (10:39 +0100)
committerFrederic Lecaille <flecaille@haproxy.com>
Mon, 23 Feb 2026 09:39:59 +0000 (10:39 +0100)
commitbb3304c6afb4d751b3be96485a7d8a9c54f76cf7
treecc1c24ba0a0d6447ae43f40725c4c8554611c24c
parenta5a053e612269aeecf577adcd2c5729e7a00d712
CLEANUP: haterm: avoid static analyzer warnings about rand() use

Avoid such a warnings from coverity:

CID 1645121: (#1 of 1): Calling risky function (DC.WEAK_CRYPTO)
dont_call: random should not be used for security-related applications,
because linear congruential algorithms are too easy to break.

Reported in GH #3283 and #3285
src/haterm.c