diff options
author | DJ Delorie <dj@redhat.com> | 2006-05-12 20:00:37 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2006-05-12 20:00:37 +0000 |
commit | f6b66e9075cc6e8355f5eb50e2e122565c867098 (patch) | |
tree | f6ab5fcbfbdd9469f239086c43f5984d9bfe2aed /libiberty | |
parent | 49b9e64492eac6771902bad2b2d651c840b19a2f (diff) | |
download | binutils-f6b66e9075cc6e8355f5eb50e2e122565c867098.zip binutils-f6b66e9075cc6e8355f5eb50e2e122565c867098.tar.gz binutils-f6b66e9075cc6e8355f5eb50e2e122565c867098.tar.bz2 |
merge from gcc
Diffstat (limited to 'libiberty')
-rw-r--r-- | libiberty/ChangeLog | 5 | ||||
-rw-r--r-- | libiberty/cplus-dem.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 76baa3c..ef48f86 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,8 @@ +2006-05-12 Anton Blanchard <anton@samba.org> + + * cplus-dem.c (demangle_fund_type): Ensure buf is large enough to + hold "int%u_t". + 2006-04-24 Julian Brown <julian@codesourcery.com> * floatformat.c (floatformat_to_double): Fix (biased) exponent=0 case. diff --git a/libiberty/cplus-dem.c b/libiberty/cplus-dem.c index 8b60434a..1f8b1fc 100644 --- a/libiberty/cplus-dem.c +++ b/libiberty/cplus-dem.c @@ -3693,7 +3693,7 @@ demangle_fund_type (struct work_stuff *work, { int done = 0; int success = 1; - char buf[10]; + char buf[INTBUF_SIZE + 5 /* 'int%u_t' */]; unsigned int dec = 0; type_kind_t tk = tk_integral; |