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

Florian Weimer fweimer@redhat.com
Thu Aug 13 15:08:42 GMT 2026


* 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



More information about the Libc-alpha mailing list