From: Eric Blake Date: Wed, 9 May 2007 12:27:00 +0000 (+0000) Subject: * libltdl/libltdl/lt_error.h (LT_ERROR_LEN_MAX): Adjust, to fix X-Git-Tag: release-2-1b~127 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=80ee9e65c64f524ab9084dac070e9e7122587f10;p=thirdparty%2Flibtool.git * libltdl/libltdl/lt_error.h (LT_ERROR_LEN_MAX): Adjust, to fix buffer overflow in previous patch. --- diff --git a/ChangeLog b/ChangeLog index 783e80ab2..f493a8bca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-05-09 Eric Blake + + * libltdl/libltdl/lt_error.h (LT_ERROR_LEN_MAX): Adjust, to fix + buffer overflow in previous patch. + 2007-05-09 Gary V. Vaughan * tests/lt_dladvise.at: Commit missing file from below. diff --git a/libltdl/libltdl/lt_error.h b/libltdl/libltdl/lt_error.h index dbb462dbf..e789b3a4e 100644 --- a/libltdl/libltdl/lt_error.h +++ b/libltdl/libltdl/lt_error.h @@ -1,6 +1,6 @@ /* lt_error.h -- error propogation interface - Copyright (C) 1999, 2000, 2001, 2004 Free Software Foundation, Inc. + Copyright (C) 1999, 2000, 2001, 2004, 2007 Free Software Foundation, Inc. Written by Thomas Tanner, 1999 NOTE: The canonical source of this file is maintained with the @@ -73,7 +73,7 @@ enum { }; /* Should be max of the error string lengths above (plus one for C++) */ -#define LT_ERROR_LEN_MAX (36) +#define LT_ERROR_LEN_MAX (41) /* These functions are only useful from inside custom module loaders. */ LT_SCOPE int lt_dladderror (const char *diagnostic);