diff options
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 6 | ||||
-rw-r--r-- | binutils/readelf.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 3f3a9dd..52fe2d3 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com> + + PR binutils/22923 + * binutils/readelf.c (get_ver_flags): Expand buffer to avoid + overflow. + 2018-03-07 Alan Modra <amodra@gmail.com> * configure.ac: Add objdump_private_desc_xcoff for rs6000. diff --git a/binutils/readelf.c b/binutils/readelf.c index e3af50a..b85db9f 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -10212,7 +10212,7 @@ process_dynamic_section (Filedata * filedata) static char * get_ver_flags (unsigned int flags) { - static char buff[32]; + static char buff[128]; buff[0] = 0; |