]> git.ipfire.org Git - thirdparty/glibc.git/commit
libio: Attempt wide backup free only for non-legacy code
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Tue, 3 Sep 2024 18:58:33 +0000 (14:58 -0400)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 11 Sep 2024 07:18:17 +0000 (09:18 +0200)
commit485b2a773d19fe551a9e692c804d0a13b1355396
treebb5952a4f7e8d63d6f0b37b58f300ebd1b9b03af
parentc3a3240b648e18af3770d2e5a1f6349f3d116f6f
libio: Attempt wide backup free only for non-legacy code

_wide_data and _mode are not available in legacy code, so do not attempt
to free the wide backup buffer in legacy code.

Resolves: BZ #32137 and BZ #27821

Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Reviewed-by: Florian Weimer <fweimer@redhat.com>
(cherry picked from commit ae4d44b1d501421ad9a3af95279b8f4d1546f1ce)
NEWS
libio/genops.c