Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <MWHPR22MB167926F15243AD70EB07D19ACBE20@MWHPR22MB1679.namprd22.prod.outlook.com>
Date: Wed, 26 Jun 2019 09:12:36 +0000
From: Song Fangrui <i@...kray.me>
To: Bruno Haible <bruno@...sp.org>
CC: "musl@...ts.openwall.com" <musl@...ts.openwall.com>
Subject: Re: TLS and TSS APIs have race conditions in musl

On Wed, Jun 26, 2019 at 1:02 AM Bruno Haible <bruno@...sp.org> wrote:
>
> Hi Rich,
>
> > > On Alpine Linux 3.7 and 2.9, these test programs, when run, produce this output:
>
> This was a typo: I meant Alpine Linux 3.7 and 3.9.
>
> > Have you tried with current musl (1.1.22)?
>
> No. It surely is easier for you to try it with the current musl:
>   $ gcc -Wall test-tls.c -o test-tls && ./test-tls
>
> Bruno
>

I checkout commit 59f88d766263344ce3e124d969ba66720aff4590 and the
previous commit.

The data race you saw was fixed by it "fix data race choosing next key
slot in pthread_key_create"

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.