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
..
2011-08-09 10:54:22 +02:00
2009-07-21 14:30:13 +00:00
2009-07-21 14:30:13 +00:00
2012-12-13 17:25:57 +01:00
2010-05-12 16:06:38 +00:00
2011-07-01 10:21:08 +02:00
2010-09-23 08:15:45 +00:00
2010-07-24 09:18:42 +00:00
2010-07-24 09:18:42 +00:00
2009-12-21 15:58:06 +00:00
2009-07-21 14:30:13 +00:00
2011-12-02 19:42:56 +01:00
2007-10-23 10:48:09 +00:00
2009-09-02 15:02:01 +00:00
2009-09-02 15:02:01 +00:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2009-05-11 09:20:39 +00:00
2012-01-13 16:20:53 +01:00
2008-07-17 19:47:19 +00:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2012-01-10 15:34:02 +01:00
2007-10-23 10:48:09 +00:00
2012-12-15 11:28:00 +01:00
2012-01-19 22:33:51 -05:00
2012-08-24 16:37:44 +02:00
2011-08-09 10:12:36 +02:00
2009-12-15 11:07:43 +00:00
2009-09-02 17:30:53 +00:00
2007-10-23 10:48:09 +00:00
2012-01-10 15:16:44 +01:00
2007-10-23 10:48:09 +00:00
2011-08-09 10:54:22 +02:00
2012-11-08 15:59:47 +01:00
2011-07-01 10:21:08 +02:00
2012-01-19 22:33:51 -05:00
2012-01-10 15:16:44 +01:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2012-11-29 12:00:46 -05:00
2012-11-08 13:25:02 +01:00
2012-11-08 13:25:02 +01:00
2011-02-23 15:13:40 +01:00
2007-10-23 10:48:09 +00:00
2012-11-08 13:25:02 +01:00
2010-09-28 15:55:24 +00:00
2000-07-31 08:04:16 +00:00
2009-07-21 14:30:13 +00:00
2010-09-28 16:13:24 +00:00
2007-10-23 10:48:09 +00:00
2011-07-22 14:00:08 +02:00
2012-04-29 11:54:28 +02:00
2011-04-05 23:47:58 -04:00
2008-10-03 19:54:30 +00:00
2011-08-09 10:54:22 +02:00
2012-11-08 13:25:02 +01:00
2010-09-28 10:07:30 +00:00
2005-10-05 16:58:50 +00:00
2012-11-08 13:25:02 +01:00
2000-07-31 08:04:16 +00:00
2009-06-24 14:01:20 +00:00
2012-11-08 13:25:02 +01:00
2007-11-28 23:08:35 +00:00
2011-08-09 10:54:22 +02:00
2012-01-31 21:30:05 -05:00
2012-01-10 15:16:44 +01:00
2009-05-11 09:37:25 +00:00
2012-11-08 13:25:02 +01:00
2012-11-08 13:25:02 +01:00
2007-10-23 10:48:09 +00:00
2012-01-19 22:33:51 -05:00
2012-01-19 22:34:45 -05:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2012-08-24 16:32:40 +02:00
2012-01-19 22:33:51 -05:00
2007-10-23 10:48:09 +00:00