Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
out_forward: always initialize salt with random numbers (fluent#2575)
There is an initialization bug that leaves the shared key salt being uninitialized when SSL is not enabled. This might allow attackers to guess the shared key by looking at the hash. Let's always initialize the salt buffer securely using flb_randombytes(). Signed-off-by: Fujimoto Seiji <[email protected]>
- Loading branch information