summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPauli <pauli@openssl.org>2022-03-15 14:28:07 +1100
committerPauli <pauli@openssl.org>2022-03-30 10:10:25 +1100
commit330ff7e67d2ecc1c298fe7c4347c2109b4a979de (patch)
tree3aa2bf60d150b000cf64ff82e624b78dfc12e96a /doc
parent4157a32867e6643da8daee94e836aaa18b9feed6 (diff)
Use safe math to computer sizes.
The sizes are rounded via the expression: (cmpl + 7) / 8 which overflows if cmpl is near to the type's maximum. Instead we use the safe_math function to computer this without any possibility of error. Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17884)
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions