Re: [PATCH] misc: Fix out-of-bounds array write in tdelete (bug 34506)

Adhemerval Zanella <[email protected]>
Newsgroups gmane.comp.lib.glibc.alpha
Message-ID <[email protected]>

> Em 13 de ago. de 2026, à(s) 12:08, Florian Weimer <[email protected]> escreveu:
> 
> * Adhemerval Zanella Netto:
> 
>> I think we can infer this without the using internal definitions:
>> 
>>  enum { ptr_bits = CHAR_BIT * sizeof (void *),
>>         stacksize = 2 * ptr_bits + 1 };
> 
> So perhaps this?
> 
>  enum { stacksize = 2 * UINTPTR_WIDTH + 1 };

Indeed, forgot about this constant. LGTM, thanks.

> 
> Thanks,
> Florian
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.