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

Reply via email to