This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Make chunk size a multiple of MALLOC_ALIGNMENT


On Thu, May 24, 2012 at 5:45 PM, Carlos O'Donell
<carlos@systemhalted.org> wrote:
> On Thu, May 24, 2012 at 8:36 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
>>>> This bug caused some test failures in one of nss packages on Linux/x32.
>>>> This patch fixes it. ?OK to install?
>>>
>>> Why doesn't this trigger for any other architectures?
>>
>> It is very rare, even with MALLOC_ALIGNMENT. > ?(2*SIZE_SZ).
>> I only saw it once on Linux/x32.
>
> Why is it rare? Is it because it's a combination of alloc's and free's
> that end up with an old_top that doesn't have the right size?

I think so.

> It looks like a generic issue... but it just isn't triggered by anyone... yet.
>
>

I believe it is the case.

I am checking it in.

Thanks.

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]