On Mon, Jun 3, 2024 at 9:42 PM Nathan Hartman <hartman.nat...@gmail.com> wrote:
>
> On Thu, May 30, 2024 at 2:05 PM Timofey Zhakov <t...@chemodax.net> wrote:
> >
> > Hello,
> >
> > I found that the print_properties() creates an iterpool, but cleans it
> > inside the 'if' block instead of doing it inside of the loop block.
> > This patch fixes it and does little refactoring of this part of the code.
> >
> > [[[
> > Fix unbounded memory usage in `svn propget` command.
> >
> > * subversion/svn/propget-cmd.c
> >   (print_properties): Invoke svn_pool_clear() inside the loop to clean the
> >   pool properly and refactor this part of the code to make it more readable.
> > ]]]
> >
> > Thanks!
> >
> > --
> > Timofei Zhakov
>
>
> Committed in r1918138.
>
> Thank you for noticing and fixing!
>
> Cheers,
> Nathan


Also nominated r1918138 and r1918139 for backport to 1.14.x in r1918141.

Cheers,
Nathan

Reply via email to