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

Re: svn-0.30.0-setup.exe trashing the Environment $path as per 0.14.

From: <kfogel_at_collab.net>
Date: 2003-10-02 19:45:44 CEST

"Jostein Chr. Andersen" <jostein@josander.net> writes:
> My C knowledge are limited (svnpath is my second C program, the first was
> named hello.exe).
> I will allocate it dynamically as soon as I get time to learn more about
> C (I have seen some examples on how to do it, it don't look to
> difficult), believe me, I'm really looking forward to do it. C looks
> like fun.

Until you dynamically allocate, you should at least prevent writes
that run off the end. Maybe you can check the length of the input?


   char buf[1024];
   if (len(input) > sizeof(buf))



To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 2 20:37:14 2003

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.