System is Windows XP ProfessionalBuild 2600 SP1.
The path entry in the registry was truncated to only include the SVN entry.
The previous path entry was just around 1000 bytes in length.
As to what I am using with SVN -- I am using a variety of items [CMD.EXE,
TortoiseSVN, etc].
The "trashing" happened immediately after a fresh install and was verified
by checking the registry entry. I had uninstalled all previous versions of
SVN.
My gut feeling is that there was a buffer overflow in the code that updated
the registry entry. I.e., the code that updated the path variable did not
have a large enough buffer to handle the ~1000 byte path record. As you may
know, the registry can hold very long paths, but the DOS shell environment
variables appear to be limited to 1023 bytes.
-- Dave S. [Smallscript Corp]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
S# for the AOS & .NET Platforms
David.Simmons@Smallscript.com
http://www.smallscript.org
> -----Original Message-----
> From: Jostein Chr. Andersen [mailto:jostein@josander.net]
> Sent: Friday, September 26, 2003 10:58 AM
> To: David Simmons
> Cc: dev@subversion.tigris.org
> Subject: Re: svn-0.30.0-setup.exe trashing the Environment $path as per
> 0.14.
>
> On Thursday 25 September 2003 20:25, David Simmons wrote:
> > [11:19] <dave_s> I'm not sure who to tell, but the latest
> > "svn-0.30.0-setup.exe" for windows is trashing the Environment $path
> > again (as per 0.14..). If you don't catch it and fix it from a backup
> > of the $path it might really hose your machine pretty quickly or screw
> > up reboots.
> > [11:19] <sussman> dave_s: mail the users@ list and say so.
> > [11:19] <dave_s> The svn-0.29.0-setup.exe release was not doing this.
>
> In which way was your Path trashed?
>
> I need some more data:
> * Which Windows version?
> * You say that $path (not %PATH%)are trashed, are you using Cygwin,
> msys or the standard console when using svn?
> * Did you do a fresh install or upgrade?
> * Anything more I can use?
> * Do you have more than one Subversion installed?
>
> This is weired, because the only new thing about svn-0.30.0-setup.exe is
> the Subversion binaries. The helper programs (svnpath) and the IS Pascal
> Script routines have not been changed for a very long time.
>
> Jostein
>
> --
>
> Jostein Chr. Andersen <jostein_at_josander.net> http://www.josander.net/
>
> Public PGP Key:
> Key: http://www.josander.net/pub_keys/jostein_josander.net.asc
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 1 04:45:42 2003