aboutsummaryrefslogtreecommitdiffstats
path: root/common/logging.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2012-12-15 10:28:00 +0000
committerWerner Koch <[email protected]>2013-04-22 18:43:27 +0000
commit151b78cc26d728e9eb42620e0caf8c6f4bd7f839 (patch)
treecd828d34c6fd5dc27b982f64b0426bec4407ec1f /common/logging.c
parentgpgsm: Remove non-implemented commands from --help. (diff)
downloadgnupg-151b78cc26d728e9eb42620e0caf8c6f4bd7f839.tar.gz
gnupg-151b78cc26d728e9eb42620e0caf8c6f4bd7f839.zip
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 <[email protected]>
Diffstat (limited to 'common/logging.c')
0 files changed, 0 insertions, 0 deletions