[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-libunistring] 0.9.9 release? (Re: malloca, freea are not thread-saf
From: |
Daiki Ueno |
Subject: |
[bug-libunistring] 0.9.9 release? (Re: malloca, freea are not thread-safe) |
Date: |
Fri, 23 Feb 2018 14:52:52 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
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 <address@hidden> writes:
> 2018-02-02 Bruno Haible <address@hidden>
>
> malloca, xmalloca: Make multithread-safe.
> Reported by Florian Weimer <address@hidden>.
> Implements an idea by Ondřej Bílka <address@hidden>.
> * 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
- [bug-libunistring] 0.9.9 release? (Re: malloca, freea are not thread-safe),
Daiki Ueno <=