1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Daniel Kahn Gillmor 367b073ab5 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
2014-12-22 13:14:17 +01:00
..
2007-07-04 19:49:40 +00:00
2014-11-07 18:17:52 +01:00
2013-11-18 14:09:47 +01:00
2014-01-29 17:45:05 +01:00
2014-12-08 17:12:23 +01:00
2011-02-04 12:57:53 +01:00
2014-11-20 12:17:50 +01:00
2007-07-04 19:49:40 +00:00
2014-11-11 10:13:10 +01:00
2014-11-07 18:17:52 +01:00
2014-11-07 18:17:52 +01:00
2013-01-30 18:51:56 +01:00
2014-11-11 15:14:31 +01:00
2014-11-11 15:14:31 +01:00
2014-11-11 15:14:31 +01:00
2014-11-11 15:14:31 +01:00
2014-11-11 15:14:31 +01:00
2014-11-11 10:13:10 +01:00
2014-04-17 21:09:10 +02:00
2014-05-02 11:19:25 +02:00
2014-01-29 17:45:05 +01:00
2013-07-31 16:25:41 +02:00
2011-02-04 12:57:53 +01:00
2014-04-17 21:09:10 +02:00

Stuff used by several modules of GnuPG.

These directories use it:

gpg
sm
agent

These directories don't use it:

kbx