diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-11-02 11:15:40 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-11-02 11:15:40 +0100 |
commit | 617eb648307fd5bc8edb58605dde5d1e74b89d5a (patch) | |
tree | 268308d50243bdc6ab58f26732da4a60165751e0 /config/external/nss/nss.symbols | |
parent | 3b2c342f3879705b0cc9919198b984f92aec5e62 (diff) | |
download | UXP-617eb648307fd5bc8edb58605dde5d1e74b89d5a.tar UXP-617eb648307fd5bc8edb58605dde5d1e74b89d5a.tar.gz UXP-617eb648307fd5bc8edb58605dde5d1e74b89d5a.tar.lz UXP-617eb648307fd5bc8edb58605dde5d1e74b89d5a.tar.xz UXP-617eb648307fd5bc8edb58605dde5d1e74b89d5a.zip |
Apply CheckedInt to infoLength for preventing it from overflowing in the future.
CheckedInt propagates the mIsValid in each add operation so that it avoids needing a bunch of code
for the overflow check in each add operation. Additionally, it avoids mismatching parameters
between the computing result and the additional overflow check.
This patch uses CheckedInt to take advantage of those implicit features of it.
Diffstat (limited to 'config/external/nss/nss.symbols')
0 files changed, 0 insertions, 0 deletions