You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2004/05/21 22:42:58 UTC

cvs commit: httpd-2.0/modules/dav/main mod_dav.c

jorton      2004/05/21 13:42:57

  Modified:    modules/dav/main mod_dav.c
  Log:
  * modules/dav/main/mod_dav.c (dav_method_put): Fix segfault
  in auto-versioning error handling path.
  
  PR: 29148
  
  Revision  Changes    Path
  1.107     +1 -1      httpd-2.0/modules/dav/main/mod_dav.c
  
  Index: mod_dav.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/dav/main/mod_dav.c,v
  retrieving revision 1.106
  retrieving revision 1.107
  diff -d -u -r1.106 -r1.107
  --- mod_dav.c	11 Mar 2004 13:46:48 -0000	1.106
  +++ mod_dav.c	21 May 2004 20:42:56 -0000	1.107
  @@ -1033,7 +1033,7 @@
   
       if (err2 != NULL) {
           /* just log a warning */
  -        err2 = dav_push_error(r->pool, err->status, 0,
  +        err2 = dav_push_error(r->pool, err2->status, 0,
                                 "The PUT was successful, but there "
                                 "was a problem automatically checking in "
                                 "the resource or its parent collection.",