Matt McHenry <>


r871942 | glasser | 2008-06-24 20:30:26 +0000 (Tue, 24 Jun 2008)

Fixes to pool usage in libsvn_client copy code.  Specifically, prevent
unbounded memory use when wc-to-wc copying or moving multiple files,
by passing an iterpool to propagate_mergeinfo_within_wc.

Found by: Matt McHenry <>

* subversion/libsvn_client/copy.c
  (do_wc_to_wc_copies, do_wc_to_wc_moves): Call
   propagate_mergeinfo_within_wc with the iterpool.
  (setup_copy): Use the iterpool for an URI decode.
  (svn_client_copy4): Use the subpool for an URI decode.  Be explicit
   that you're setting a variable to NULL.