https://sourceware.org/bugzilla/show_bug.cgi?id=22397
--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Alan Modra <amo...@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=26a9301057457ae576b51b8127bb805b4e484a6b commit 26a9301057457ae576b51b8127bb805b4e484a6b Author: Alan Modra <amo...@gmail.com> Date: Sun Nov 5 19:52:13 2017 +1030 Proper bound check in _bfd_doprnt_scan While an abort after storing out of bounds by one to an array in our caller is probably OK in practice, it's better to check before storing. PR 22397 * bfd.c (_bfd_doprnt_scan): Check args index before storing, not after. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils