diff options
author | Matt Caswell <matt@openssl.org> | 2015-05-19 15:19:30 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-05-22 23:21:55 +0100 |
commit | 726b5e71329865d14e46e1eb96c986e3e373bbfd (patch) | |
tree | 895d0aa010f5b3f7a60472f54f788e5828794285 /crypto/des/Makefile | |
parent | 0a9f8e0621ba03d6cbd5691f997eedba2d8536f7 (diff) |
Reject negative shifts for BN_rshift and BN_lshift
The functions BN_rshift and BN_lshift shift their arguments to the right or
left by a specified number of bits. Unpredicatable results (including
crashes) can occur if a negative number is supplied for the shift value.
Thanks to Mateusz Kocielski (LogicalTrust), Marek Kroemeke and Filip Palian
for discovering and reporting this issue.
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
(cherry picked from commit 7cc18d8158b5fc2676393d99b51c30c135502107)
Conflicts:
crypto/bn/bn.h
crypto/bn/bn_err.c
Diffstat (limited to 'crypto/des/Makefile')
0 files changed, 0 insertions, 0 deletions