Manuel Pégourié-Gonnard
7f17155ac6
Avoid seemingly-possible overflow
...
By looking just at that test, it looks like 2 + dn_size could overflow. In
fact that can't happen as that would mean we've read a CA cert of size is too
big to be represented by a size_t.
However, it's best for code to be more obviously free of overflow without
having to reason about the bigger picture.
2015-12-10 14:36:25 +01:00
..
2015-06-25 10:59:56 +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-11-02 11:07:30 +09:00
2015-10-05 15:23:11 +01:00
2015-12-01 10:27:00 +01: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
2015-09-04 14:21:07 +02:00
2015-11-04 19:55:40 +00:00
2015-09-04 14:21:07 +02:00
2015-10-05 11:41:36 +01: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-10-20 16:20:56 +02:00
2015-10-05 11:41:36 +01:00
2015-10-23 15:50:37 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-08 11:21:21 +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-07 12:43:09 +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
2015-09-04 14:21:07 +02:00
2015-10-05 12:17:49 +01:00
2015-10-21 16:40:29 +02:00
2015-09-04 14:21:07 +02:00
2015-10-05 00:26:36 +01: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-28 19:47:50 +02:00
2015-10-02 13:32:17 +01:00
2015-10-21 12:50:45 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-10-30 10:56:25 +01: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-16 22:58:29 +02:00
2015-10-27 16:57:34 +00:00
2015-09-04 14:21:07 +02:00
2015-12-10 14:36:25 +01:00
2015-09-04 14:21:07 +02:00
2015-11-02 11:07:30 +09:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-10-20 15:00:29 +02:00
2015-09-04 14:21:07 +02:00
2015-10-21 12:50:45 +02:00
2015-09-04 14:21:07 +02:00
2015-11-02 11:04:59 +09: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