This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] malloc: Fix for infinite loop in memalign/posix_memalign.
- From: OndÅej BÃlka <neleai at seznam dot cz>
- To: Will Newton <will dot newton at linaro dot org>
- Cc: libc-alpha <libc-alpha at sourceware dot org>, Patch Tracking <patches at linaro dot org>
- Date: Mon, 21 Oct 2013 09:07:09 +0200
- Subject: Re: [PATCH] malloc: Fix for infinite loop in memalign/posix_memalign.
- Authentication-results: sourceware.org; auth=none
- References: <52569CED dot 3060700 at linaro dot org> <CANu=DmjvNT8j7_WJMGZhEeXOVcS7io+1wenDv0ei4PJZ6Xvd7A at mail dot gmail dot com>
On Thu, Oct 17, 2013 at 08:42:42AM +0100, Will Newton wrote:
> On 10 October 2013 13:26, Will Newton <will.newton@linaro.org> wrote:
> >
> > A very large alignment argument passed to mealign/posix_memalign
> > causes _int_memalign to enter an infinite loop. Limit the maximum
> > alignment value to the maximum representable power of two to
> > prevent this from happening.
> >
>
> Ping?
>
looks ok.