https://sourceware.org/bugzilla/show_bug.cgi?id=22116

            Bug ID: 22116
           Summary: binutil ar abort
           Product: binutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: bil0w at hotmail dot com
  Target Milestone: ---

The ar_size field in an archive with ar file format is 10 bytes long.

So I naturally created a file of 10 gigabytes then tested ar to see how it
deals with it.

$ dd if=/dev/zero of=zeros.img count=1 bs=1 seek=$((10 * 1024 * 1024 * 1024 -
1))
$ ar rc foo.a zeros.img
[1]    31479 abort      ar rc foo.a zeros.img

Is this an expected behavior, or should there be an error message?

-- 
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

Reply via email to