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

[PATCH] Fix for access violation in svn_fs__path_valid()

From: Stefan <luke1410_at_gmx.de>
Date: Mon, 1 Feb 2016 00:34:32 +0100


as discussed on the dev list (topic: inconsistent null-ptr handling in
utf-path related functions):
attached is a patch to prevent svn_fs__path_valid() to run in an access
violation when creating an error due to path being invalid (in this case

Prevent an access violation upon an invalid call, while generating an error

* libsvn_fs/fs-loader.c:
    (svn_fs__path_valid): add null-check for path-parameter when
generating the
                           error and use "NULL" in the message, in case
                           it actually is null.


Received on 2016-02-01 00:34:57 CET

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