readelf memory leaks processing mips
authorAlan Modra <amodra@gmail.com>
Tue, 14 Apr 2020 00:21:44 +0000 (09:51 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 14 Apr 2020 14:09:05 +0000 (23:39 +0930)
commit645f43a80c63c4116ddfe1e0371746a9418e823c
tree800b7e18431e28996273548a52aa8df6ce9e9fe8
parentfa1477dc34e6ce19b90ff0171074c295133730a3
readelf memory leaks processing mips

* readelf.c (process_mips_specific): Free eopt and iopt.  Avoid
possibility of overflow when checking number of conflicts.
binutils/ChangeLog
binutils/readelf.c