https://sourceware.org/bugzilla/show_bug.cgi?id=24055
--- Comment #3 from Wolfgang Thaller <wolfgang.thaller at gmx dot net> ---
Comment on attachment 11507
  --> https://sourceware.org/bugzilla/attachment.cgi?id=11507
Proposed patch

There are also some minor problems with your proposed patch:

* The assert checks < sizeof(AUXENT), but AUXENT is the external auxentm and by
definition AUXESZ == sizeof(AUXENT), so it looks like this assert will always
fail.

* The size for the memcpy is numaux * sizeof(AUXESZ), but AUXESZ is the size,
not the structure, so sizeof(AUXESZ) == sizeof(18) == sizeof(int) == 4.

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