Simon Butcher
c23bf6e23c
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 23:53:04 +00:00
..
2012-11-17 00:04:49 +01:00
2015-02-13 14:24:10 +01:00
2015-02-13 14:24:10 +01:00
2015-04-23 10:55:04 +02:00
2015-10-27 11:39:32 +01:00
2015-10-05 15:31:53 +01:00
2015-12-22 18:39:08 +00:00
2015-02-13 14:24:10 +01:00
2015-02-13 14:24:10 +01:00
2015-02-13 14:24:10 +01:00
2015-02-13 14:24:10 +01:00
2015-02-13 14:24:10 +01:00
2015-11-06 10:51:16 +00:00
2015-02-13 14:24:10 +01:00
2015-06-29 18:54:28 +02:00
2015-02-13 14:24:10 +01:00
2015-02-13 14:24:10 +01:00
2015-02-13 14:24:10 +01:00
2015-02-13 14:24:10 +01:00
2015-02-13 14:24:10 +01:00
2015-02-13 14:24:10 +01:00
2015-02-13 14:24:10 +01:00
2015-08-10 16:41:14 +02:00
2015-08-31 12:23:30 +02:00
2015-08-31 12:23:30 +02:00
2015-08-31 12:23:30 +02:00
2015-02-13 14:24:10 +01:00
2015-02-13 14:24:10 +01:00
2015-10-05 14:32:43 +01:00
2015-04-23 10:55:05 +02:00
2015-02-13 14:24:10 +01:00
2015-10-01 17:00:22 +02:00
2015-02-13 14:24:10 +01:00
2015-02-13 14:24:10 +01:00
2015-10-01 16:57:47 +02:00
2015-09-09 12:36:49 +02:00
2015-08-31 12:23:30 +02:00
2015-08-31 12:23:30 +02:00
2015-08-31 12:23:30 +02:00
2015-02-13 14:24:10 +01:00
2015-09-03 11:01:37 +02:00
2015-12-22 23:53:04 +00:00
2015-09-30 00:45:21 +01:00
2015-04-23 10:55:05 +02:00
2015-02-13 14:24:10 +01:00
2015-11-02 06:58:09 +09:00
2015-02-13 14:24:10 +01:00
2015-02-13 14:24:10 +01:00