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

Re: [PATCH] fix uninitialized return value in svn_client_root_url_from_path

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-09-22 17:26:36 CEST

Stefan Küng wrote:
> Hi,
>
> If svn_client_root_url_from_path() is called without initializing the
> return value first to NULL, the function fails without returning an
> error. This is bad.
>
> Attached is a patch which fixes this problem by initializing the return
> value first - otherwise the check on line 244 in
> subversion/libsvn_client/util.c fails even though it shouldn't.

Sorry for the noise. Just notice that dlr already fixed this in r26742.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Sep 22 17:26:59 2007

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.