[Bug stdio/31840] Memory leak in _IO_new_fdopen (fdopen) on seek failure

fweimer at redhat dot com sourceware-bugzilla@sourceware.org
Thu Jun 6 12:02:15 GMT 2024


https://sourceware.org/bugzilla/show_bug.cgi?id=31840

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
   Target Milestone|---                         |2.40
                 CC|                            |fweimer at redhat dot com
              Flags|                            |security?
         Resolution|---                         |FIXED

--- Comment #6 from Florian Weimer <fweimer at redhat dot com> ---
Fixed for 2.40 via:

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)")

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list