diff options
| author | jsing <> | 2023-02-14 18:22:35 +0000 |
|---|---|---|
| committer | jsing <> | 2023-02-14 18:22:35 +0000 |
| commit | 99cba5ab7b530f01483ea8d31860b0984f146f07 (patch) | |
| tree | 9920ce0f43d626c04695693d0578cf7c14df80c9 /src/lib/libc/stdlib/malloc.c | |
| parent | facea515d845f4df27719fa12f3aae9eb2fc2baf (diff) | |
| download | openbsd-99cba5ab7b530f01483ea8d31860b0984f146f07.tar.gz openbsd-99cba5ab7b530f01483ea8d31860b0984f146f07.tar.bz2 openbsd-99cba5ab7b530f01483ea8d31860b0984f146f07.zip | |
Make BN_is_zero() check word values.
Rather than completely relying on top, check the words of a bignum.
This gets us one step away from being dependent on top and additionally
means that we correctly report zero even if top is not yet correct.
ok tb@
Diffstat (limited to 'src/lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions
