diff options
author | Nick Clifton <nickc@redhat.com> | 2016-06-22 09:55:50 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2016-06-22 09:55:50 +0100 |
commit | d5b07ef44713fc26f283cb1fa8b98d62caf703be (patch) | |
tree | 2195bacdfcfe00e91ae1ecd23ffe970c98df8037 | |
parent | cbf55359ca3fdcb2590619e0165f2c8fa10b2f04 (diff) | |
download | fsf-binutils-gdb-d5b07ef44713fc26f283cb1fa8b98d62caf703be.zip fsf-binutils-gdb-d5b07ef44713fc26f283cb1fa8b98d62caf703be.tar.gz fsf-binutils-gdb-d5b07ef44713fc26f283cb1fa8b98d62caf703be.tar.bz2 |
Increase size of string buffer used to hold printed versions of timestamps.
binutils* readelf.c (dynamic_section_mips_val): Increase size of timebuf.
(process_mips_specific): Likewise.
(process_gnu_liblist): Likewise.
-rw-r--r-- | binutils/ChangeLog | 6 | ||||
-rw-r--r-- | binutils/readelf.c | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 1574ba4..941a358 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +2016-06-22 Nick Clifton <nickc@redhat.com> + + * readelf.c (dynamic_section_mips_val): Increase size of timebuf. + (process_mips_specific): Likewise. + (process_gnu_liblist): Likewise. + 2016-06-21 Graham Markall <graham.markall@embecosm.com> * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400 diff --git a/binutils/readelf.c b/binutils/readelf.c index 8145918..274ddd1 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -8711,7 +8711,7 @@ dynamic_section_mips_val (Elf_Internal_Dyn * entry) case DT_MIPS_TIME_STAMP: { - char timebuf[20]; + char timebuf[128]; struct tm * tmp; time_t atime = entry->d_un.d_val; @@ -14489,7 +14489,7 @@ process_mips_specific (FILE * file) { Elf32_Lib liblist; time_t atime; - char timebuf[20]; + char timebuf[128]; struct tm * tmp; liblist.l_name = BYTE_GET (elib[cnt].l_name); @@ -15143,7 +15143,7 @@ process_gnu_liblist (FILE * file) { Elf32_Lib liblist; time_t atime; - char timebuf[20]; + char timebuf[128]; struct tm * tmp; liblist.l_name = BYTE_GET (elib[cnt].l_name); |