You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Karl Fogel <kf...@newton.ch.collab.net> on 2001/11/16 04:37:35 UTC

Re: svn commit: rev 449 - trunk/subversion/libsvn_repos

cmpilato@tigris.org writes:
> Log:
> * subversion/libsvn_repos/log.c
> 
>   (svn_repos_get_logs): Disable verbose logs until they aren't just
>   effectively DoS attacks.

+1, Mike.  (Will fix this ASAP, though!)

-K


> Modified: trunk/subversion/libsvn_repos/log.c
> ==============================================================================
> --- OLD/trunk/subversion/libsvn_repos/log.c	Tue Nov 13 14:56:27 2001
> +++ NEW/trunk/subversion/libsvn_repos/log.c	Tue Nov 13 14:56:27 2001
> @@ -143,6 +143,9 @@
>           `end'.  Premature optimization right now, however.
>        */
>  
> +#ifndef SVN_REPOS_ALLOW_LOG_WITH_PATHS
> +      discover_changed_paths = FALSE;
> +      
>        if ((this_rev > 0) && 
>            (discover_changed_paths || (paths && paths->nelts > 0)))
>          {
> @@ -218,6 +221,7 @@
>            if (! val)
>              continue;
>          }
> +#endif /* SVN_REPOS_ALLOW_LOG_WITH_PATHS */
>  
>        SVN_ERR ((*receiver) (receiver_baton,
>                              (discover_changed_paths ? changed_paths : NULL),
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: svn-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: svn-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org