[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r31622 - trunk/subversion/libsvn_repos

From: Senthil Kumaran S <senthil_at_collab.net>
Date: Tue, 10 Jun 2008 14:43:27 +0530

Kamesh Jayachandran wrote:
> - - capabilities_string = "";
> + strcpy(capabilities_string, "");
>
> You can not copy to such un-initialized location.
>
> May the fix could be
> - - capabilities_string = "";
> + capabilities_string = apr_pstrdup(pool, "");

Yes Kamesh, I am +1 for this.

Thank You.

-- 
Senthil Kumaran S
http://www.stylesen.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-06-10 11:13:56 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.