Hello,

I am wondering, if this change deserves a new release, given that it
affects thread safety of dependent libraries (libidn2 and gnutls)?  If
no objection, I will create the 0.9.9 release next week.

Bruno Haible <br...@clisp.org> writes:

> 2018-02-02  Bruno Haible  <br...@clisp.org>
>
>       malloca, xmalloca: Make multithread-safe.
>       Reported by Florian Weimer <fwei...@redhat.com>.
>       Implements an idea by Ondřej Bílka <nel...@seznam.cz>.
>       * lib/malloca.h (malloca): In the stack allocation case, return a
>       pointer that is a multiple of 2 * sa_alignment_max.
>       (sa_increment): Remove enum item.
>       * lib/xmalloca.h (xmalloca): In the stack allocation case, return
>       a pointer that is a multiple of 2 * sa_alignment_max.
>       * lib/malloca.c (NO_SANITIZE_MEMORY): Remove macro.
>       (MAGIC_NUMBER, MAGIC_SIZE, preliminary_header, HEADER_SIZE, header,
>       HASH_TABLE_SIZE, mmalloca_results): Remove.
>       (small_t): New type.
>       (mmalloca, free): Rewritten.
>       * lib/malloca.valgrind: Remove file.
>       * modules/malloca (Files): Remove it.
>       (Depends-on): Remove verify.

Regards,
-- 
Daiki Ueno

Reply via email to