This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] wcsmbs: Fix data race in __wcsmbs_clone_conv [BZ #24584]
On Mai 21 2019, Florian Weimer <fweimer@redhat.com> wrote:
> [BZ #24584]
> * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
> before updating __counter field and release it afterwards. Add
> overflow check.
> * iconv/gconv.h (struct __gconv_step): Mention synchronization
> requirement for __counter member.
Ok.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."