Fix PR binutils/22923.
authorPaul Pluzhnikov <ppluzhnikov@google.com>
Thu, 8 Mar 2018 02:16:34 +0000 (18:16 -0800)
committerPaul Pluzhnikov <ppluzhnikov@google.com>
Thu, 8 Mar 2018 02:18:25 +0000 (18:18 -0800)
commit6d4f21f6eee9933a2883f2a214953432c13ee1c2
treeb1238dfd71d2af6a97ac84d82e05b3459e0ad603
parentbdd2279f13c6415e19a9ba0fd91dfff00a9cc80a
Fix PR binutils/22923.

A static buffer in get_ver_flags may overflow when e.g. German translation
is longer than English original. Avoid that by expanding the buffer.
binutils/ChangeLog
binutils/readelf.c