Matt Caswell
9d9e37744c
Clarify logic in BIO_*printf functions
...
The static function dynamically allocates an output buffer if the output
grows larger than the static buffer that is normally used. The original
logic implied that |currlen| could be greater than |maxlen| which is
incorrect (and if so would cause a buffer overrun). Also the original
logic would call OPENSSL_malloc to create a dynamic buffer equal to the
size of the static buffer, and then immediately call OPENSSL_realloc to
make it bigger, rather than just creating a buffer than was big enough in
the first place. Thanks to Kevin Wojtysiak (Int3 Solutions) and Paramjot
Oberoi (Int3 Solutions) for reporting this issue.
Reviewed-by: Andy Polyakov <appro@openssl.org>
2015-04-30 23:12:39 +01:00
..
2015-04-20 18:39:56 +02:00
2015-04-30 17:57:32 -04:00
2015-03-31 20:16:01 +02:00
2015-04-30 23:12:39 +01:00
2015-04-30 17:57:32 -04:00
2015-04-28 16:34:52 -04:00
2015-03-31 20:16:01 +02:00
2015-03-31 20:16:01 +02:00
2015-03-31 20:16:01 +02:00
2015-04-30 17:57:32 -04:00
2015-04-28 15:28:14 -04:00
2015-04-28 15:28:14 -04:00
2015-04-30 23:12:39 +01:00
2015-04-30 17:57:32 -04:00
2015-04-30 17:57:32 -04:00
2015-04-28 15:28:14 -04:00
2015-04-30 17:57:32 -04:00
2015-04-30 17:57:32 -04:00
2015-04-30 18:10:52 -04:00
2015-04-30 17:57:32 -04:00
2015-04-28 16:34:52 -04:00
2015-04-30 23:12:39 +01:00
2015-04-30 17:57:32 -04:00
2015-03-31 20:16:01 +02:00
2015-04-27 16:21:48 +02:00
2015-04-30 18:10:52 -04:00
2015-03-31 20:16:01 +02:00
2015-04-28 15:28:14 -04:00
2015-03-31 20:16:01 +02:00
2015-03-31 20:16:01 +02:00
2015-03-31 20:16:01 +02:00
2015-03-31 20:16:01 +02:00
2015-04-30 17:57:32 -04:00
2015-04-28 15:28:14 -04:00
2015-04-30 18:10:52 -04:00
2015-04-30 17:57:32 -04:00
2015-04-20 15:06:22 +02:00
2015-04-30 17:57:32 -04:00
2015-04-30 17:57:32 -04:00
2015-04-28 15:28:14 -04:00
2015-04-30 17:57:32 -04:00
2015-03-31 20:16:01 +02:00
2015-03-31 20:16:01 +02:00
2015-03-31 20:16:01 +02:00
2015-03-31 20:16:01 +02:00
2015-04-30 17:57:32 -04:00
2015-03-31 20:16:01 +02:00
2015-04-20 15:06:22 +02:00
2015-04-30 18:10:52 -04:00
2015-04-28 15:28:14 -04:00
2015-04-28 15:28:14 -04:00
2015-04-16 13:44:59 -04:00
2015-04-30 17:33:59 -04:00
2015-03-31 20:16:01 +02:00
2015-04-28 15:28:14 -04:00
2015-03-31 20:16:01 +02:00
2015-04-30 17:33:59 -04:00
2015-04-30 18:10:52 -04:00
2011-08-12 12:28:52 +00:00
2015-01-23 15:38:41 +01:00
2015-01-22 09:20:09 +00:00
2015-04-20 15:06:22 +02:00
2015-04-20 15:06:22 +02:00
2014-05-04 16:38:32 +02:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-27 16:43:53 -05:00
2015-01-22 09:20:09 +00:00
2015-03-31 21:59:43 +02:00
2015-01-22 09:20:09 +00:00
2015-04-04 17:05:49 +02:00
2015-04-28 15:28:14 -04:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2011-05-07 20:36:05 +00:00
2015-02-06 16:49:17 -05:00
2015-04-28 15:28:14 -04:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-04-20 15:06:22 +02:00
2015-01-23 19:09:01 +01:00
2015-01-22 09:20:09 +00:00
2015-04-28 15:28:14 -04:00
2015-04-30 17:57:32 -04:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-02-02 11:08:16 -05:00
2015-01-23 11:58:26 -05:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:10 +00:00
2014-12-28 01:17:52 -05:00
2013-06-18 10:37:00 +02:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2014-06-04 08:34:18 +02:00
2015-01-22 09:20:09 +00:00
2011-04-17 12:46:00 +00:00
2015-01-22 09:20:09 +00:00
2013-02-11 10:39:50 +01:00
2015-02-02 11:08:16 -05:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2014-02-14 17:24:12 +01:00
2014-08-09 08:02:20 -04:00