]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Increase size of string buffer used to hold printed versions of timestamps.
authorNick Clifton <nickc@redhat.com>
Wed, 22 Jun 2016 08:55:50 +0000 (09:55 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 22 Jun 2016 08:55:50 +0000 (09:55 +0100)
binutils* readelf.c (dynamic_section_mips_val): Increase size of timebuf.
(process_mips_specific): Likewise.
(process_gnu_liblist): Likewise.

binutils/ChangeLog
binutils/readelf.c

index 1574ba4e820242f030b0ed9264675071845faa36..941a358c19bc464699fe0d29fa3b0cf6b8e19973 100644 (file)
@@ -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
index 81459182b32adc814a228a9a97a10f41ac138e0a..274ddd17266aef6e4ad1f67af8a13a21500ff2af 100644 (file)
@@ -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);