The asm code is 64-bit only, so multipling a `size_t` by eight to get a number of bits is valid and the bounds on the inputs are checked accordingly. But on 32-bit, that calculation will overflow for huge inputs. Change-Id: I6d2171becd6b6259593b2aa80105d8cae1ec7ed4 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/65188 Reviewed-by: David Benjamin <davidben@google.com>chromium-stable
parent
e5d6b2fbb4
commit
a32596b054
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue