subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1553713 - /subversion/trunk/subversion/mod_dav_svn/lock.c
Date Fri, 27 Dec 2013 18:19:11 GMT
Author: rhuijben
Date: Fri Dec 27 18:19:11 2013
New Revision: 1553713

URL: http://svn.apache.org/r1553713
Log:
* subversion/mod_dav_svn/lock.c
  (remove_lock_svn_output): Following up on r1553701, add one more sanity
     check. Probably unneeded, but the wrapped function performs a similar
     check.

Modified:
    subversion/trunk/subversion/mod_dav_svn/lock.c

Modified: subversion/trunk/subversion/mod_dav_svn/lock.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/mod_dav_svn/lock.c?rev=1553713&r1=1553712&r2=1553713&view=diff
==============================================================================
--- subversion/trunk/subversion/mod_dav_svn/lock.c (original)
+++ subversion/trunk/subversion/mod_dav_svn/lock.c Fri Dec 27 18:19:11 2013
@@ -919,7 +919,8 @@ remove_lock_svn_output(dav_lockdb *lockd
   dav_error *derr = remove_lock(lockdb, resource, locktoken);
   int status;
 
-  if (!derr 
+  if (!derr
+      || !resource->info->repos
       || !resource->info->repos->is_svn_client
       || (strcmp(lockdb->info->r->method, "UNLOCK") != 0))
     return derr;



Mime
View raw message