This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Always do locking when accessing streams (bug 15142, bug 14697)
- From: Andreas Schwab <schwab at suse dot de>
- To: Florian Weimer <fw at deneb dot enyo dot de>
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 17 Feb 2020 10:19:31 +0100
- Subject: Re: [PATCH] Always do locking when accessing streams (bug 15142, bug 14697)
- References: <mvmy2t6a8ok.fsf@suse.de> <87y2t2slcq.fsf@mid.deneb.enyo.de>
On Feb 16 2020, Florian Weimer wrote:
> I'm not sure if the justification is correct. We don't know if there
> are programs which call flockfile on some file and expect exit to
> still work (and terminate the program), which is part of what
> nptl/tst-stdio1 tests.
But that's exactly what the bug is about. Random memory corruption
cannot be the answer.
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."