Daniel Kahn Gillmor
1fc4dc541a
avoid future chance of using uninitialized memory
...
* common/iobuf.c: (iobuf_open): initialize len
--
In iobuf_open, IOBUFCTRL_DESC and IOBUFCTRL_INIT commands are invoked
(via file_filter()) on fcx, passing in a pointer to an uninitialized
len.
With these two commands, file_filter doesn't actually do anything with
the value of len, so there's no actual risk of use of uninitialized
memory in the code as it stands.
However, some static analysis tools might flag this situation with a
warning, and initializing the value doesn't hurt anything, so i think
this trivial cleanup is warranted.
Debian-Bug-Id: 773469
2015-01-13 10:52:22 +09:00
..
2010-05-04 09:56:42 +00:00
2009-07-07 10:02:41 +00:00
2009-12-03 19:39:39 +00:00
2009-12-03 19:39:39 +00:00
2008-06-09 14:49:28 +00:00
2008-04-07 19:31:12 +00:00
2011-12-02 19:28:02 +01:00
2007-07-04 19:49:40 +00:00
2009-01-19 16:15:30 +00:00
2009-12-08 12:43:27 +00:00
2007-07-04 19:49:40 +00:00
2014-06-30 17:31:46 +02:00
2007-08-22 10:55:07 +00:00
2013-11-15 09:08:58 +01:00
2013-07-03 09:30:22 +02:00
2007-11-19 16:03:50 +00:00
2010-05-04 09:56:42 +00:00
2009-03-19 07:09:31 +00:00
2007-11-19 16:03:50 +00:00
2007-08-02 18:12:43 +00:00
2010-02-12 15:15:34 +00:00
2009-07-07 10:02:41 +00:00
2009-03-16 09:44:44 +00:00
2013-05-07 21:17:04 +02:00
2007-07-04 19:49:40 +00:00
2007-12-06 19:02:42 +00:00
2013-08-01 19:50:52 +02:00
2013-04-23 18:06:46 +02:00
2013-02-28 13:48:58 -05:00
2008-11-04 19:54:02 +00:00
2007-10-19 15:58:38 +00:00
2013-04-23 18:06:46 +02:00
2007-07-04 19:49:40 +00:00
2015-01-13 10:52:22 +09:00
2007-07-04 19:49:40 +00:00
2007-07-04 19:49:40 +00:00
2007-07-04 19:49:40 +00:00
2008-10-20 13:53:23 +00:00
2014-06-24 10:36:15 +02:00
2009-04-01 10:51:53 +00:00
2007-12-04 11:23:31 +00:00
2008-10-17 19:18:46 +00:00
2007-07-04 19:49:40 +00:00
2007-07-04 19:49:40 +00:00
2007-11-19 16:03:50 +00:00
2007-07-04 19:49:40 +00:00
2009-04-01 10:51:53 +00:00
2011-08-04 12:22:04 +02:00
2007-07-04 19:49:40 +00:00
2003-08-05 17:11:04 +00:00
2011-01-10 15:16:07 +01:00
2009-07-07 10:02:41 +00:00
2007-12-13 15:45:40 +00:00
2009-07-01 18:30:33 +00:00
2008-10-20 13:53:23 +00:00
2009-05-19 22:39:45 +00:00
2007-07-04 19:49:40 +00:00
2009-12-07 17:11:59 +00:00
2007-07-04 19:49:40 +00:00
2014-06-24 11:06:32 +02:00
2011-08-04 12:37:13 +02:00
2010-09-16 14:32:38 +00:00
2012-01-31 15:14:20 +01:00
2013-07-03 13:29:47 +02:00
2013-07-03 13:29:47 +02:00
2008-06-09 14:49:28 +00:00
2008-10-20 13:53:23 +00:00
2009-07-07 10:02:41 +00:00
2008-10-19 16:10:46 +00:00
2007-12-04 15:00:14 +00:00
2009-04-01 10:51:53 +00:00
2009-07-07 10:02:41 +00:00
2009-05-07 15:01:47 +00:00
2011-08-04 14:42:31 +02:00
2007-08-23 08:40:11 +00:00
2007-08-10 16:52:05 +00:00
2007-08-10 16:52:05 +00:00
2013-04-23 18:06:46 +02:00
2009-08-11 18:34:16 +00:00
2014-06-03 08:53:31 +02:00
2013-05-07 21:17:04 +02:00
2007-07-04 19:49:40 +00:00
2009-06-24 14:03:09 +00:00
2009-08-05 11:24:43 +00:00
2014-06-03 08:53:31 +02:00