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
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.