Files
mbedtls/library
Gilles Peskine e3be8d672e Fix undefined behavior in unsigned-to-signed conversion
The code assumed that `int x = - (unsigned) u` with 0 <= u < INT_MAX
sets `x` to the negative of u, but actually this calculates
(UINT_MAX - u) and then converts this value to int, which overflows.
Cast to int before applying the unary minus operator to guarantee the
desired behavior.
2018-10-12 20:32:14 +02:00
..
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2018-01-22 19:06:57 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2018-03-30 18:51:31 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2017-07-11 17:19:30 +01:00
2015-09-04 14:21:07 +02:00
2018-06-14 08:48:49 +01:00
2015-09-04 14:21:07 +02:00
2015-09-28 19:47:50 +02:00
2018-01-22 19:06:57 +02:00
2015-09-04 14:21:07 +02:00
2017-10-30 18:11:38 +02:00
2017-06-20 19:33:51 +01:00
2018-01-29 13:23:40 +01:00
2018-02-22 16:18:07 +01:00
2015-09-04 14:21:07 +02:00
2018-07-02 12:17:44 +01:00
2015-09-04 14:21:07 +02:00