[Bug 234454] ar produces corrupt .a archive when >4GB
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234454 --- Comment #5 from commit-h...@freebsd.org --- A commit references this bug: Author: emaste Date: Wed Apr 10 13:13:35 UTC 2019 New revision: 346079 URL: https://svnweb.freebsd.org/changeset/base/346079 Log: ar: implement support for /SYM64/ 64-bit archives PR: 234454 Submitted by: Gerald Aryeetey Reviewed by: imp (earlier) MFC after:3 weeks Sponsored by: The FreeBSD Foundation Differential Revision:https://reviews.freebsd.org/D18793 Changes: head/usr.bin/ar/ar.h head/usr.bin/ar/read.c head/usr.bin/ar/write.c -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
[Bug 234454] ar produces corrupt .a archive when >4GB
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234454 Ed Maste changed: What|Removed |Added Status|New |In Progress Assignee|b...@freebsd.org|ema...@freebsd.org -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
[Bug 234454] ar produces corrupt .a archive when >4GB
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234454 --- Comment #4 from commit-h...@freebsd.org --- A commit references this bug: Author: emaste Date: Fri Jan 11 19:53:45 UTC 2019 New revision: 342950 URL: https://svnweb.freebsd.org/changeset/base/342950 Log: MFC r342575, r342580: ar: detect and error out on 32-bit symbol table overflow BSD ar currently does not support the /SYM64/ 64-bit symbol table, and previously truncated to 32-bits, silently producing corrupted archives larger than 4GB. PR: 234454 Changes: stable/11/usr.bin/ar/write.c -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
[Bug 234454] ar produces corrupt .a archive when >4GB
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234454 --- Comment #3 from commit-h...@freebsd.org --- A commit references this bug: Author: emaste Date: Fri Jan 11 19:49:19 UTC 2019 New revision: 342949 URL: https://svnweb.freebsd.org/changeset/base/342949 Log: MFC r342575, r342580: ar: detect and error out on 32-bit symbol table overflow BSD ar currently does not support the /SYM64/ 64-bit symbol table, and previously truncated to 32-bits, silently producing corrupted archives larger than 4GB. PR: 234454 Changes: _U stable/12/ stable/12/usr.bin/ar/write.c -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
[Bug 234454] ar produces corrupt .a archive when >4GB
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234454 --- Comment #2 from commit-h...@freebsd.org --- A commit references this bug: Author: emaste Date: Fri Dec 28 22:47:56 UTC 2018 New revision: 342580 URL: https://svnweb.freebsd.org/changeset/base/342580 Log: ar: detect and error out on 32-bit symbol table overflow BSD ar currently does not support the /SYM64/ 64-bit symbol table, and previously truncated to 32-bits, silently producing corrupted archives larger than 4GB. This is another overflow case in addtion to r342575. PR: 234454 Reported by: Aijaz Baig, imp MFC after:2 weeks MFC with: r342575 Sponsored by: The FreeBSD Foundation Changes: head/usr.bin/ar/write.c -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
[Bug 234454] ar produces corrupt .a archive when >4GB
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234454 --- Comment #1 from commit-h...@freebsd.org --- A commit references this bug: Author: emaste Date: Fri Dec 28 17:00:13 UTC 2018 New revision: 342575 URL: https://svnweb.freebsd.org/changeset/base/342575 Log: ar: detect and error out on 32-bit symbol table overflow BSD ar currently does not support the /SYM64/ 64-bit symbol table, and previously truncated to 32-bits, silently producing corrupted archives larger than 4GB. Note that this is only a partial fix; additional checks will come. PR: 234454 Reported by: Aijaz Baig, imp MFC after:2 weeks Sponsored by: The FreeBSD Foundation Changes: head/usr.bin/ar/write.c -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
[Bug 234454] ar produces corrupt .a archive when >4GB
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234454 Bug ID: 234454 Summary: ar produces corrupt .a archive when >4GB Product: Base System Version: 12.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: b...@freebsd.org Reporter: ema...@freebsd.org Blocks: 233094 Our ar (usr.bin/ar) only supports the 32-bit symbol table format, not the 64-bit /SYM64/ format, and silently truncates symbol offsets >4GB. At the very least we should exit with an error in this case, but we should really support /SYM64/. Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233094 [Bug 233094] [meta] Base system tool chain modernization tracking -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"