1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00
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
..
2009-12-03 19:39:39 +00:00
2009-12-03 19:39:39 +00:00
2008-04-07 19:31:12 +00:00
2007-07-04 19:49:40 +00:00
2009-12-08 12:43:27 +00:00
2007-07-04 19:49:40 +00:00
2007-08-22 10:55:07 +00:00
2009-03-16 09:44:44 +00: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
2007-07-04 19:49:40 +00: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
2007-07-04 19:49:40 +00:00
2011-08-04 12:22:04 +02:00
2007-07-04 19:49:40 +00:00
2011-01-10 15:16:07 +01:00
2009-07-01 18:30:33 +00:00
2007-07-04 19:49:40 +00:00
2007-07-04 19:49:40 +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
2011-08-04 14:42:31 +02:00
2007-08-23 08:40:11 +00:00
2014-06-03 08:53:31 +02:00
2007-07-04 19:49:40 +00:00
2014-06-03 08:53:31 +02:00

Stuff used by several modules of GnuPG.

These directories use it:

gpg
sm
agent

These directories don't use it:

kbx