In addition to reducing lines of code, this also ensures that the full
allocation is always zeroed avoiding possible bugs with incorrect
lengths passed to explicit_bzero().
Suggested by: cem
Differential D25435
Use zfree() instead of explicit_bzero() and free(). jhb on Jun 25 2020, 12:00 AM. Authored by Tags None Referenced Files
Details
In addition to reducing lines of code, this also ensures that the full Suggested by: cem
Diff Detail
Event TimelineComment Actions LGTM to me, other than the one question. Approved by: csprng(cem) for the random(4) change.
|