Werner Koch
3402a84720
Fix potential heap corruption in "gpg -v --version".
...
* g10/gpg.c (build_list): Rewrite to cope with buffer overflow in
certain locales.
--
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>
(cherry picked from commit e33e74e3a4b2b4a0341f933410ddd5db7a12515e)
Note that this version uses utf8_charcount to get the indentation
mostly right.
Signed-off-by: Werner Koch <wk@gnupg.org>
2013-04-22 20:25:35 +02:00
..
2010-05-12 16:18:49 +00:00
2011-08-04 12:22:04 +02:00
2012-11-06 14:39:22 +01:00
2009-12-21 16:19:09 +00:00
2011-07-07 11:20:53 +02:00
2011-12-02 19:28:02 +01:00
2012-05-24 10:55:11 +02:00
2007-11-19 16:03:50 +00:00
2009-09-03 11:29:25 +00:00
2007-07-04 19:49:40 +00:00
2009-08-06 20:12:00 +00:00
2007-11-19 16:03:50 +00:00
2007-11-19 16:03:50 +00:00
2007-11-19 16:03:50 +00:00
2009-06-05 14:11:03 +00:00
2012-05-24 10:55:11 +02:00
2009-07-13 17:36:02 +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
2007-07-04 19:49:40 +00:00
2009-05-06 09:36:06 +00:00
2013-04-22 20:25:35 +02:00
2013-01-03 20:21:20 +01:00
2012-01-19 23:03:56 -05:00
2007-12-04 15:00:14 +00:00
2012-12-20 11:52:04 +01:00
2007-07-04 19:49:40 +00:00
2013-01-03 20:21:20 +01:00
2009-12-21 16:19:09 +00:00
2011-08-04 12:22:04 +02:00
2011-01-10 19:35:10 +01:00
2011-07-01 10:33:43 +02:00
2012-05-24 10:55:11 +02:00
2009-07-20 11:02:20 +00:00
2009-04-03 10:34:22 +00:00
2007-07-04 19:49:40 +00:00
2012-11-29 13:06:39 -05:00
2012-11-27 17:35:16 +01:00
2012-05-24 10:55:11 +02:00
2011-12-02 19:28:02 +01:00
2007-11-19 16:03:50 +00:00
2012-11-27 17:35:16 +01:00
2007-07-04 19:49:40 +00:00
2000-07-31 08:04:16 +00:00
2010-01-11 16:05:26 +00:00
2010-09-29 08:43:55 +00:00
2009-09-03 20:51:55 +00:00
2011-07-22 13:56:14 +02:00
2010-01-11 16:05:26 +00:00
2011-12-15 16:46:28 -05:00
2008-10-03 20:00:46 +00:00
2012-12-19 11:29:37 +01:00
2011-06-13 14:35:30 +02:00
2007-07-04 19:49:40 +00:00
2010-05-12 10:53:02 +00:00
2007-07-04 19:49:40 +00:00
2009-06-05 14:11:03 +00:00
2000-07-31 08:04:16 +00:00
2009-06-24 14:03:09 +00:00
2008-12-12 12:01:20 +00:00
2008-12-12 08:54:50 +00:00
2010-03-12 17:24:06 +00:00
2010-02-12 15:15:34 +00:00
2009-06-05 14:11:03 +00:00
2011-08-04 12:22:04 +02:00
2013-04-22 19:59:34 +02:00
2009-05-26 09:29:02 +00:00
2009-08-06 20:12:00 +00:00
2008-12-11 17:44:52 +00:00
2008-10-20 13:53:23 +00:00
2012-01-19 23:03:56 -05:00
2012-01-19 23:03:56 -05:00
2007-11-19 16:03:50 +00:00
2012-08-24 10:33:28 +02:00
2012-01-19 23:03:56 -05:00
2008-10-20 13:53:23 +00:00