about summary refs log tree commit diff
path: root/libidn
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-03-15 22:57:31 +0000
committerRoland McGrath <roland@gnu.org>2005-03-15 22:57:31 +0000
commit1b243ca9a888b3902a0f97cf50ce4ea1d29995ce (patch)
tree06585f6b8710370f5e76cb479354488c06de69e7 /libidn
parentfdc07525f4c210ab6a394ce52955dbf279fff311 (diff)
downloadglibc-1b243ca9a888b3902a0f97cf50ce4ea1d29995ce.tar.gz
glibc-1b243ca9a888b3902a0f97cf50ce4ea1d29995ce.tar.xz
glibc-1b243ca9a888b3902a0f97cf50ce4ea1d29995ce.zip
* sysdeps/generic/wordexp.c (exec_comm_child): Add inline keyword.
	Patch by Dan Kegel <dank@kegel.com>.

	* elf/dynamic-link.h (elf_machine_rel, elf_machine_rel_relative,
	elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
	Add inline keyword.
	* sysdeps/alpha/dl-machine.h (elf_machine_rela,
	elf_machine_rela_relative, elf_machine_lazy_rel): Add always_inline
	attribute.
	* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
	elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.  Change
	static inline into auto inline.
	* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
	elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
	* sysdeps/generic/dl-machine.h (elf_machine_rel, elf_machine_rela):
	Likewise.
	* sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rel_relative,
	elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
	Likewise.

2005-03-15  Jakub Jelinek  <jakub@redhat.com>
Diffstat (limited to 'libidn')
-rw-r--r--libidn/ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/libidn/ChangeLog b/libidn/ChangeLog
index df3a6269e8..f9303743fc 100644
--- a/libidn/ChangeLog
+++ b/libidn/ChangeLog
@@ -1,3 +1,13 @@
+2005-03-08  Paul Eggert  <eggert@cs.ucla.edu>
+
+	* iconvme.c (SIZE_MAX): New macro, if not already defined.
+	(iconv_string): Don't guess a size-zero buffer, as that might cause
+	buffer overrun.  Instead, avoid multiplying by MB_LEN_MAX if the
+	result would be 'too large', where 'too large' is (heuristically)
+	the square root of SIZE_MAX, divided by MB_LEN_MAX to allay
+	overflow concerns.  This will prevent some unwanted malloc failures
+	when the inputs are very large.
+
 2005-02-12  Simon Josefsson  <jas@extundo.com >
 
 	* iconvme.h: New file, extracted from toutf8.c but improved.