Florian Weimer
95e8397481
vfscanf: Use struct scratch_buffer instead of extend_alloca
...
A custom character buffer is added in this commit, in the form of
struct char_buffer. The char_buffer_add function replaces the
ADDW macro (which has grown with each successive security fix).
The char_buffer_add slow path is moved out-of-line, reducing
code size.
* stdio-common/vfscanf.c (MEMCPY): Remove macro.
(struct char_buffer): New type.
(char_buffer_start, char_buffer_size, char_buffer_error)
(char_buffer_rewind, char_buffer_add): New functions.
(ADDW): Remove macro, replaced by the char_buffer_add function.
(_IO_vfscanf_internal): Rewrite using struct char_buffer instead
of extend_alloca. Make control flow more explicit.
2015-10-15 17:18:51 +02:00
..
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2013-06-05 20:44:03 +00:00
2014-12-10 00:41:19 +00:00
2012-05-17 12:59:08 -04:00
2014-12-15 10:09:33 +01:00
2014-12-15 10:09:33 +01:00
2014-12-15 10:09:33 +01:00
2012-05-24 21:30:43 -06:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-06-17 20:10:50 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-10-12 15:18:08 +02:00
2015-01-02 16:29:47 +00:00
2015-09-18 21:19:48 +01:00
2015-09-18 21:19:48 +01:00
2015-09-18 21:19:48 +01:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2013-10-12 14:47:50 +02:00
2015-07-08 12:07:21 -03:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-09-08 21:11:03 +00:00
2015-09-08 21:11:03 +00:00
2015-09-08 21:11:03 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2014-12-11 13:47:44 -08:00
2014-12-11 13:47:44 -08:00
2015-01-02 16:29:47 +00:00
2014-12-10 00:41:19 +00:00
2015-09-03 20:24:54 +00:00
2015-09-03 20:24:54 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-08-06 02:59:04 -04:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2013-06-07 22:24:35 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2014-11-05 15:24:08 +05:30
2015-08-06 02:59:04 -04:00
2015-01-02 16:29:47 +00:00
2015-07-16 15:21:49 -03:00
2015-07-08 12:07:21 -03:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2012-03-08 03:02:24 -05:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2014-11-05 15:24:08 +05:30
2014-11-05 15:24:08 +05:30
2015-01-02 16:29:47 +00:00
2015-10-07 23:17:33 -07:00
2015-01-02 16:29:47 +00:00
2015-08-06 02:59:04 -04:00
2015-01-02 16:29:47 +00:00
2015-08-06 02:59:04 -04:00
2015-01-02 16:29:47 +00:00
2014-11-05 15:24:08 +05:30
2015-01-02 16:29:47 +00:00
2014-12-15 11:29:09 -06:00
2015-07-15 15:10:23 +05:30
2014-11-05 15:24:08 +05:30
2015-01-02 16:29:47 +00:00
2014-11-05 15:24:08 +05:30
2015-08-09 04:19:12 -04:00
2015-01-02 16:29:47 +00:00
2014-11-05 15:24:08 +05:30
2014-12-11 13:47:44 -08:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2014-02-28 11:07:43 -08:00
2015-09-16 09:16:11 -07:00
2015-10-15 17:18:51 +02:00
2015-01-02 16:29:47 +00:00
2013-06-07 22:24:35 +00:00