Matt Caswell
1a9499cf23
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
2015-05-22 23:19:34 +01:00
..
2015-05-13 17:00:06 +02:00
2015-04-18 14:43:33 +01:00
2015-01-22 09:31:38 +00:00
2015-04-30 23:21:53 +01:00
2015-05-22 23:19:34 +01:00
2015-01-22 09:31:38 +00:00
2015-02-24 10:12:57 +01:00
2015-01-22 09:31:48 +00:00
2015-05-13 12:55:03 -04:00
2015-04-16 13:50:01 -04:00
2015-01-22 09:31:38 +00:00
2015-02-12 13:01:33 -05:00
2015-04-30 23:14:55 +01:00
2015-04-16 13:50:01 -04:00
2015-04-16 13:50:01 -04:00
2015-04-16 13:50:01 -04:00
2015-04-30 23:21:53 +01:00
2015-01-22 09:31:38 +00:00
2015-03-25 12:41:28 +00:00
2015-01-26 10:46:26 -05:00
2015-01-22 09:31:38 +00:00
2015-05-20 22:19:34 +02:00
2015-04-16 13:50:01 -04:00
2015-01-22 09:31:48 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:48 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-04-08 17:59:41 +02:00
2015-05-13 15:28:48 +01:00
2015-04-16 13:50:01 -04:00
2015-01-22 14:11:04 +00:00
2015-02-24 10:12:57 +01:00
2015-03-19 12:58:35 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-04-16 13:50:01 -04:00
2015-01-22 09:31:48 +00:00
2015-01-22 09:31:48 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-04-30 23:21:53 +01:00
2015-01-22 09:31:38 +00:00
2015-04-02 09:51:32 +02:00
2015-04-16 13:50:01 -04:00
2015-03-17 13:48:04 +00:00
2015-01-22 09:31:38 +00:00
2015-04-16 13:50:01 -04:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-02-22 08:10:29 +01:00
2015-01-22 09:31:48 +00:00
2015-05-20 22:19:34 +02:00
2015-05-11 12:19:54 +01:00
2008-04-17 10:19:16 +00:00
2011-08-12 12:31:08 +00:00
2014-06-10 23:20:55 +02:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-06 11:14:23 +01:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-05-02 08:01:52 -04:00
2015-01-22 09:31:38 +00:00
2014-06-18 13:43:09 +02:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-04-08 17:59:40 +02:00
2015-01-22 09:31:38 +00:00
2015-02-09 13:01:15 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2011-11-14 20:45:57 +00:00
2014-06-18 13:43:09 +02:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-13 11:28:54 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-04-22 17:20:38 +01:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:48 +00:00
2015-01-22 09:31:38 +00:00
2005-12-16 10:37:24 +00:00
2015-03-19 13:34:56 +00:00
2015-01-22 09:31:38 +00:00
2013-06-30 23:13:23 +02:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2014-07-20 14:36:49 +02:00
2015-01-22 09:31:38 +00:00
2011-11-14 20:47:22 +00:00
2015-01-22 09:31:38 +00:00
2013-05-20 00:16:18 +02:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2014-02-14 17:25:14 +01:00
2014-02-14 17:25:14 +01:00