]> 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 06:47:22 +0000 (08:47 +0200)
commit7073164add3b874cf0c19ca0fb84236f6bb0985d
treefebab2e2fe0042a3efdd7029c78e8469132e1469
parentadfb14e71f240a6bc2a4cbd6e6c50cc3fa1bcc3b
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