Re: [PATCH] misc: Fix out-of-bounds array write in tdelete (bug 34506)
Florian Weimer <[email protected]>
| Newsgroups | gmane.comp.lib.glibc.alpha |
|---|---|
| Message-ID | <[email protected]> |
* 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 };
Thanks,
Florian