1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00
Werner Koch 151b78cc26 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 3402a84720e7d8c6ad04fc50eacb338a8ca05ca1)

Signed-off-by: Werner Koch <wk@gnupg.org>
2013-04-22 20:43:27 +02:00
..
2011-03-03 12:40:54 +01:00
2011-03-08 12:23:59 +01:00
2011-02-04 12:57:53 +01:00
2013-01-08 09:43:21 +01:00
2011-04-28 10:51:14 +02:00
2007-07-04 19:49:40 +00:00
2013-01-08 09:43:21 +01:00
2011-09-20 19:24:52 +02:00
2011-02-04 12:57:53 +01:00
2013-01-08 14:46:06 +01:00
2011-03-03 13:01:03 +01:00
2013-01-08 09:43:21 +01:00
2013-01-30 12:00:29 +01:00
2011-06-13 14:54:40 +02:00
2013-01-08 09:43:21 +01:00
2008-12-12 08:54:50 +00:00
2012-08-24 09:44:33 +02:00
2011-08-10 14:11:30 +02:00
2013-02-07 20:37:58 +01:00
2011-09-20 19:24:52 +02:00
2013-01-08 09:43:21 +01:00