There seem to be a few sprintfs in the archive code that were overflowing by 1 character. I have reduced the padding length in the format string to remedy this and it seems to build fine for me. I have not tested this all the way down at the robots yet. Another possible solution (though I'm not sure which one is better) would be to increase the size of the character arrays in the ar_hdr struct in 'include/aout/ar.h'. Hope this helps someone else.
** Attachment added: "fix-archive-sprintf-overflow.patch.dpatch" https://bugs.launchpad.net/ubuntu/+source/binutils-h8300-hms/+bug/641789/+attachment/1714713/+files/fix-archive-sprintf-overflow.patch.dpatch -- h8300-hitachi-coff-ar assert failure: *** buffer overflow detected ***: /usr/bin/h8300-hms-ar terminated https://bugs.launchpad.net/bugs/641789 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
