Re: [Qemu-devel] [PATCH for-2.11] linux-user: Fix calculation of auxv length

2017-11-20 Thread Peter Maydell
On 8 November 2017 at 08:41, Richard Henderson wrote: > On 11/07/2017 07:25 PM, Peter Maydell wrote: >> In commit 7c4ee5bcc82e643 we changed the order in which we construct >> the AUXV, but forgot to adjust the calculation of the length. The >> result is that we set info->auxv_len to a bogus and n

Re: [Qemu-devel] [PATCH for-2.11] linux-user: Fix calculation of auxv length

2017-11-08 Thread Richard Henderson
On 11/07/2017 07:25 PM, Peter Maydell wrote: > In commit 7c4ee5bcc82e643 we changed the order in which we construct > the AUXV, but forgot to adjust the calculation of the length. The > result is that we set info->auxv_len to a bogus and negative value, > and then later on the code in open_self_aux