[patch] Fix failure to cleanup input-only stream buffers in preparation for BZ#16734 fix

Paul Pluzhnikov ppluzhnikov@google.com
Sun Mar 8 18:58:00 GMT 2015


On Sun, Mar 8, 2015 at 11:47 AM, Carlos O'Donell <carlos@redhat.com> wrote:

> Please still consider adding a test case for this specific
> failure.

Before the mmap->malloc switch, this failure manifests in missing
munmap, but mmap/munmap from stdio is not interposable, and I am not
sure there *is* a way to write a test for this.

After the switch, sure: I can add a specific read-only fopen test.

-- 
Paul Pluzhnikov



More information about the Libc-alpha mailing list