Manuel Pégourié-Gonnard
cf16b79238
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-22 20:13:35 +00:00
..
2015-01-28 15:34:01 +00:00
2015-03-06 13:17:10 +00:00
2015-03-06 13:17:10 +00:00
2015-03-06 13:17:10 +00:00
2015-03-06 13:17:10 +00:00
2015-10-30 10:17:05 +01:00
2015-10-05 15:29:48 +01:00
2015-12-22 15:26:57 +00:00
2015-03-06 13:17:10 +00:00
2015-03-06 13:17:10 +00:00
2015-05-27 17:40:16 +02:00
2015-03-06 13:17:10 +00:00
2015-03-06 13:17:10 +00:00
2015-03-23 14:11:11 +01:00
2015-11-05 15:44:46 +00:00
2015-03-11 09:13:42 +00:00
2015-08-10 17:36:47 +02:00
2015-03-06 13:17:10 +00:00
2015-04-15 13:27:13 +02:00
2015-03-06 13:17:10 +00:00
2015-03-06 13:17:10 +00:00
2015-10-05 14:57:01 +01:00
2015-10-05 14:28:17 +01:00
2015-08-31 11:07:51 +02:00
2015-06-01 12:28:29 +02:00
2015-05-11 10:44:11 +01:00
2015-05-27 17:40:16 +02:00
2015-03-06 13:17:10 +00:00
2015-03-20 18:23:52 +00:00
2015-08-10 11:56:54 +02:00
2015-08-31 11:22:47 +02:00
2015-08-31 11:22:47 +02:00
2015-08-31 11:22:47 +02:00
2015-03-06 13:17:10 +00:00
2015-03-23 14:11:11 +01:00
2015-03-06 13:17:10 +00:00
2015-10-05 14:15:46 +01:00
2015-10-27 15:12:39 +01:00
2015-04-02 10:53:59 +01:00
2015-03-23 14:11:11 +01:00
2015-09-30 17:01:35 +02:00
2015-03-06 13:17:10 +00:00
2015-03-06 13:17:10 +00:00
2015-03-11 09:13:42 +00:00
2015-03-06 13:17:10 +00:00
2015-09-30 16:46:07 +02:00
2015-04-15 11:21:24 +02:00
2015-10-27 11:47:37 +01:00
2015-06-03 10:20:33 +01:00
2015-03-06 13:17:10 +00:00
2015-09-09 12:23:47 +02:00
2015-08-31 11:22:47 +02:00
2015-08-31 11:22:47 +02:00
2015-08-31 11:22:47 +02:00
2015-03-06 13:17:10 +00:00
2015-03-06 13:17:10 +00:00
2015-10-02 09:53:52 +02:00
2015-12-22 20:13:35 +00:00
2015-10-30 10:17:05 +01:00
2015-03-06 13:17:10 +00:00
2015-08-19 14:48:34 +02:00
2015-04-09 16:35:54 +02:00
2015-03-06 13:17:10 +00:00
2015-10-27 11:47:37 +01:00
2015-04-30 11:21:18 +02:00
2015-11-02 06:57:30 +09:00
2015-03-06 13:17:10 +00:00
2015-05-11 10:44:11 +01:00
2015-03-06 13:17:10 +00:00
2015-03-06 13:17:10 +00:00
2015-03-06 13:17:10 +00:00