1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-08 23:37:47 +02:00
gnupg/include
Werner Koch e33e74e3a4 Fix potential heap corruption in "gpg -v --version"
* g10/gpg.c (build_list): Rewrite to cope with buffer overflow in
certain locales.
* util/membuf.c (put_membuf_str): New.
(get_membuf): Make LEN optional.
--

This fixes an obvious bug in locales where the translated string is
longer than the original.  The bug could be exhibited by using
LANG=ru_RU.utf8 gpg -v --version.

En passant we also removed the trailing white space on continued
lines.

Reported-by: Dmitry V. Levin" <ldv at altlinux.org>
2012-12-15 11:28:00 +01:00
..
_regex.h Switched to GPLv3. 2007-10-23 10:48:09 +00:00
assuan.h Switched to GPLv3. 2007-10-23 10:48:09 +00:00
ChangeLog-2011 Rename all ChangeLog files to ChangeLog-2011. 2011-12-02 19:42:56 +01:00
cipher.h Add pubkey letters e and E for ECC. 2011-07-01 10:21:08 +02:00
compat.h Restructured the compat functions and changed its license. 2009-08-25 20:00:24 +00:00
distfiles Distribute dotlock.h 2012-01-11 01:23:59 -05:00
dotlock.h Replace file locking by the new portable dotlock code. 2012-01-10 15:16:44 +01:00
dynload.h Switched to GPLv3. 2007-10-23 10:48:09 +00:00
errors.h Switched to GPLv3. 2007-10-23 10:48:09 +00:00
estream-printf.h First set of changes to backport the new card code from 2.0. 2009-07-21 14:30:13 +00:00
host2net.h Switched to GPLv3. 2007-10-23 10:48:09 +00:00
http.h Avoid caches to get the most recent copy of the key. This is bug 2009-05-26 14:15:56 +00:00
i18n.h Switched to GPLv3. 2007-10-23 10:48:09 +00:00
iobuf.h Switched to GPLv3. 2007-10-23 10:48:09 +00:00
keyserver.h Switched to GPLv3. 2007-10-23 10:48:09 +00:00
memory.h First set of changes to backport the new card code from 2.0. 2009-07-21 14:30:13 +00:00
mpi.h Switched to GPLv3. 2007-10-23 10:48:09 +00:00
srv.h * srv.h: Move to include/srv.h. 2009-04-06 03:18:07 +00:00
ttyio.h Minor changes to help the VMS port 2010-09-28 10:07:30 +00:00
types.h Handle systems which have uint64_t but not the UINT64_C macro. 2012-11-06 17:55:31 +01:00
util.h Fix potential heap corruption in "gpg -v --version" 2012-12-15 11:28:00 +01:00
zlib-riscos.h Switched to GPLv3. 2007-10-23 10:48:09 +00:00