summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2021-06-08 15:08:22 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2021-06-08 15:08:22 +0900
commit6d19a40a8a23d9aa5d61ace247a5fea1bd103995 (patch)
tree7da06ef7c080f5cf11446728a5ea0ca6fce33587 /configure.ac
parentf9b50dafc5d3cc9d463be17b1d9e66817d4cb41c (diff)
downloadlibgpg-error-6d19a40a8a23d9aa5d61ace247a5fea1bd103995.tar.gz
core: Avoid truncation of error message in the middle of a character.
* configure.ac (AM_LANGINFO_CODESET): Add. * src/strerror.c (_gpg_strerror_r): Check the boundary of character. -- GnuPG-bug-id: 5048 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index e15a321..c3faf99 100644
--- a/configure.ac
+++ b/configure.ac
@@ -82,6 +82,7 @@ AC_PROG_AWK
AC_CHECK_TOOL(AR, ar, :)
AC_USE_SYSTEM_EXTENSIONS
+AM_LANGINFO_CODESET
# Taken from mpfr-4.0.1, then modified for LDADD_FOR_TESTS_KLUDGE
dnl Under Linux, make sure that the old dtags are used if LD_LIBRARY_PATH