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

Carlos O'Donell carlos@redhat.com
Sun Mar 8 19:56:00 GMT 2015


On 03/08/2015 02:57 PM, Paul Pluzhnikov wrote:
> 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.

Yes, you won't be able to test that.

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

Exactly.

Cheers,
Carlos.
 



More information about the Libc-alpha mailing list