[Bug 234454] ar produces corrupt .a archive when >4GB

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Dec 28 17:00:32 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234454

--- Comment #1 from commit-hook at 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.


More information about the freebsd-bugs mailing list