This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Fix BZ#16374 -- don't use mmap for FILE buffers


On Mon, 16 Feb 2015, Paul Pluzhnikov wrote:

> Attached patch replaces mmap()s with calloc()s. Doing this revealed a
> few cleanup bugs: wide stream and input-only buffers were not cleaned
> up under some conditions.

Were those bugs user-visible in releases (memory leaks should be 
considered user-visible)?  If so, there should be a separate bug filed in 
Bugzilla for them.  And it is possible to test for those bugs in the 
testsuite (if memory leaks, maybe with an mtrace test - we have plenty of 
those already)?

> 2015-02-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
> 
>         [BZ #16374]
>         * NEWS: mention 16374

I think you mean 16734 not 16374.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]