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

Issue 1027

From: <rotering_at_animalcules.com>
Date: 2002-12-08 20:10:55 CET

From the description of issue 1027:

        file: subversion/clients/cmdline/util.c
        line: 447
        function: svn_cl__get_log_message
        
        msg2 is never set to NULL and if svn_cl__get_log_message fails msg2 is
        not effected. A more appropriate check would be if(!err)

Initializing msg2 to NULL would fix this problem as well as a similar
one on line 476.

Just to clarify the effect of this bug:

If svn_cl__edit_externally() on line 445 fails and msg2 happens to be
nonzero (because it's uninitialized) the call to strlen on line 455
raises SIGSEGV.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Dec 8 20:11:34 2002

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.