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 memory leak in printf_positional


On Thu, Sep 3, 2015 at 7:44 AM, Paul Pluzhnikov <ppluzhnikov@google.com> wrote:
> On Thu, Sep 3, 2015 at 7:38 AM, Andreas Schwab <schwab@suse.de> wrote:
>
>>> Sorry, I didn't understand that comment.
>>
>> The target must always be either complete or absent.  A redirection is
>> not atomic.

Revised patch addressing all comments attached.
Thanks,

2015-09-03  Paul Eggert  <eggert@cs.ucla.edu>
            Paul Pluzhnikov  <ppluzhnikov@google.com>

        [BZ #18872]
        * stdio-common/Makefile (tst-printf-bz18872): New test.
        (tst-printf-bz18872-mem.out): Likewise.
        * stdio-common/tst-printf-bz18872.sh: Generate new test.
        * stdio-common/vfprintf.c: Fix memory leaks.


-- 
Paul Pluzhnikov

Attachment: bz18872.20150903.txt
Description: Text document


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