[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/24055] _bfd_xcoff_swap_aux_in smashes the stack

From: wolfgang.thaller at gmx dot net
Subject: [Bug ld/24055] _bfd_xcoff_swap_aux_in smashes the stack
Date: Thu, 03 Jan 2019 14:04:16 +0000


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

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]