[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Race condition in creating directories

From: Paul Eggert
Subject: Re: Race condition in creating directories
Date: Fri, 10 Jun 2022 18:30:27 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1

On 3/31/22 18:27, Paul Eggert wrote:
Thanks for the bug report. How about the attached patch instead? It's a bit more conservative than what you proposed. (I haven't tested it.)

After testing it I see that patch wasn't right and that the patch you proposed was better. However, I now see another bug in this area. So I installed the attached three patches. The first two add a test case and fix for the other bug; the third one is very close to your patch so I'm giving you author credit (it's small enough to not require copyright paperwork).

Thanks again for reporting this.

Attachment: 0001-test-new-test-extrac25.at.patch
Description: Text Data

Attachment: 0002-tar-fix-race-condition.patch
Description: Text Data

Attachment: 0003-tar-fix-race-condition.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]