Neal H. Walfield
c5da750cf3
common/iobuf.c: Add some sanity checks to catch programmer bugs.
...
* common/iobuf.c (iobuf_alloc): Check that BUFSIZE is not 0.
(iobuf_readbyte): Check that A is an input filter. Check that the
amount of read data is at most the amount of buffered data.
(iobuf_read): Check that A is an input filter.
(iobuf_writebyte): Check that A is not an input filter.
(iobuf_writestr): Check that A is not an input filter.
(iobuf_flush_temp): Check that A is not an input filter.
--
Signed-off-by: Neal H. Walfield <neal@g10code.com>.
2015-08-20 14:16:27 +02:00
..
2013-02-06 12:56:19 +01:00
2015-04-24 16:42:28 +02:00
2015-04-24 16:42:28 +02:00
2014-08-26 17:47:54 +02:00
2015-04-24 16:10:47 +02:00
2015-07-26 12:50:24 +02:00
2015-07-26 12:50:24 +02:00
2014-08-26 17:47:54 +02:00
2012-04-20 15:48:48 +02:00
2015-02-11 10:28:25 +01:00
2011-12-01 11:09:02 +01:00
2014-01-29 17:45:05 +01:00
2015-04-24 16:42:28 +02:00
2015-04-24 15:19:10 +02:00
2015-04-23 15:51:51 +02:00
2015-04-24 16:42:28 +02:00
2015-04-24 16:42:28 +02:00
2015-04-24 16:42:28 +02:00
2011-02-04 12:57:53 +01:00
2015-05-11 20:22:32 +02:00
2014-10-03 11:58:58 +02:00
2014-05-02 08:22:38 +02:00
2014-08-26 17:47:54 +02:00
2011-02-04 12:57:53 +01:00
2014-03-12 18:35:36 +01:00
2014-11-19 10:47:56 +01:00
2012-04-20 15:48:48 +02:00
2015-04-10 13:09:39 +02:00
2015-04-10 13:09:39 +02:00
2013-05-07 21:35:48 +02:00
2013-11-18 14:09:47 +01:00
2012-06-05 19:29:22 +02:00
2015-07-28 13:52:12 +02:00
2015-02-11 10:28:25 +01:00
2015-04-21 19:27:22 +02:00
2015-03-31 12:00:58 +02:00
2015-07-28 17:38:44 +02:00
2015-06-30 22:28:41 +02:00
2015-01-28 19:57:22 +01:00
2015-01-28 19:57:22 +01:00
2015-08-20 14:16:27 +02:00
2015-08-20 14:16:25 +02:00
2007-07-04 19:49:40 +00:00
2015-04-21 10:15:04 +02:00
2012-04-20 15:48:48 +02:00
2015-04-24 16:42:28 +02:00
2015-07-26 12:50:24 +02:00
2015-08-20 14:16:19 +02:00
2015-03-17 09:18:23 +01:00
2015-03-20 15:40:09 +01:00
2015-03-20 15:40:09 +01:00
2014-08-26 17:47:54 +02:00
2015-07-26 12:50:24 +02:00
2015-06-23 09:13:45 +02:00
2015-04-24 16:42:28 +02:00
2015-07-26 12:50:24 +02:00
2011-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00
2015-08-07 09:37:49 +02:00
2014-09-12 11:31:49 +02:00
2012-04-20 15:48:48 +02:00
2003-08-05 17:11:04 +00:00
2015-06-30 22:40:29 +02:00
2012-04-20 15:48:48 +02:00
2012-04-20 15:48:48 +02:00
2014-09-18 16:01:11 +02:00
2013-02-06 12:56:19 +01:00
2012-04-20 15:48:48 +02:00
2015-04-24 16:10:15 +02:00
2015-04-24 16:10:15 +02:00
2015-02-11 10:28:25 +01:00
2014-03-07 14:18:43 +01:00
2014-03-22 20:52:03 +01:00
2012-04-20 15:48:48 +02:00
2011-02-04 12:57:53 +01:00
2015-08-15 17:14:13 -04:00
2015-07-22 11:05:32 +02:00
2015-07-26 12:50:24 +02:00
2015-04-24 16:42:28 +02:00
2015-04-24 16:42:28 +02:00
2014-11-11 15:14:31 +01:00
2014-11-11 15:14:31 +01:00
2012-06-05 19:29:22 +02:00
2015-04-23 15:51:51 +02:00
2012-06-05 19:29:22 +02:00
2011-08-10 14:11:30 +02:00
2015-04-10 13:09:37 +02:00
2012-06-05 19:29:22 +02:00
2014-10-02 17:33:57 +02:00
2015-08-20 14:16:24 +02:00
2014-02-26 16:18:45 +01:00
2015-02-25 11:43:50 +01:00
2015-03-10 15:35:30 +01:00
2011-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00
2012-06-05 19:29:22 +02:00
2015-06-22 19:28:33 +02:00
2015-04-24 16:42:28 +02:00
2015-04-24 16:42:28 +02:00
2014-11-11 15:14:31 +01:00
2015-04-24 16:42:28 +02:00
2015-04-24 16:42:28 +02:00
2015-02-24 17:02:00 +01:00
2014-05-02 11:19:25 +02:00
2015-02-11 10:28:25 +01:00
2012-04-20 15:48:48 +02:00
2014-08-26 17:47:54 +02:00
2014-03-27 12:59:55 +01:00
2015-07-26 12:50:24 +02:00
2015-03-23 19:58:30 +01:00
2012-04-20 15:48:48 +02:00
2015-04-24 16:42:28 +02:00
2015-04-24 16:42:28 +02:00
2015-08-06 17:00:41 +09:00
2015-04-24 16:42:28 +02:00
2015-04-24 16:42:28 +02:00
2015-04-24 16:42:28 +02:00
2015-04-24 16:42:28 +02:00
2015-02-03 09:12:45 +01:00
2014-08-26 17:47:54 +02:00
2015-04-24 16:42:28 +02:00
2015-04-24 16:42:28 +02:00
2012-04-20 15:48:48 +02:00
2011-02-04 12:57:53 +01:00
2014-04-17 21:09:10 +02:00