-
Bug
-
Resolution: Done-Errata
-
Undefined
-
None
-
glibc-2.39-54.el10
-
No
-
Low
-
-
2
-
rhel-pt-c-libs
-
1
-
False
-
False
-
-
No
-
Red Hat Enterprise Linux
-
PT Libraries 2025 S10, PT Libraries 2025 S11
-
Pass
-
Automated
-
Unspecified Release Note Type - Unknown
-
Unspecified
-
Unspecified
-
Unspecified
-
None
This is a clone of issue RHEL-66253 to use for version rhel-10.1
–
Original description:
We should backport this bugfix:
commit b2c3ee3724900975deaf5eae57640bb0c2d7315e
Author: Andreas Schwab <schwab@suse.de>
Date: Tue Jun 4 11:01:11 2024 +0200
Remove memory leak in fdopen (bug 31840)
Deallocate the memory for the FILE structure when seeking to the end fails
in append mode.
Fixes: ea33158c96 ("Fix offset caching for streams and use it for ftell (BZ #16680)")
commit d0106b6ae26c8cc046269358a77188105c99d5e3
Author: Florian Weimer <fweimer@redhat.com>
Date: Tue Jun 4 14:37:35 2024 +0200
libio: Test for fdopen memory leak without SEEK_END support (bug 31840)
The bug report used /dev/mem, but /proc/self/mem works as well
(if available).
It reduces conflicts in libio/Makefile and is a useful fix to have anyway.
- clones
-
RHEL-66253 glibc: Fix memory leak after fdopen seek failure
-
- Closed
-
- links to
-
RHBA-2025:149437
glibc bug fix and enhancement update