]> git.ipfire.org Git - thirdparty/glibc.git/commit
Always do locking when accessing streams (bug 15142, bug 14697)
authorAndreas Schwab <schwab@suse.de>
Tue, 30 Jan 2018 09:16:00 +0000 (10:16 +0100)
committerAndreas Schwab <schwab@suse.de>
Mon, 3 Jul 2023 07:55:43 +0000 (09:55 +0200)
commitaf130d27099651e0d27b2cf2cfb44dafd6fe8a26
treeed45f2d94abc10fefa5784cf8b6bc9fb8a5b194f
parent27cb2bb93d611d772621e801bf85c8b2b4c8b598
Always do locking when accessing streams (bug 15142, bug 14697)

Now that abort no longer calls fflush there is no reason to avoid locking
the stdio streams anywhere.  This fixes a conformance issue and potential
heap corruption during exit.
libio/genops.c
libio/libioP.h