httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 14147] - patch for filename truncation bug in ap_directory_walk
Date Mon, 04 Nov 2002 14:11:39 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14147>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14147

patch for filename truncation bug in ap_directory_walk





------- Additional Comments From wrowe@apache.org  2002-11-04 14:11 -------

  The final patch doesn't reset the flag, as demonstrated in the attached
  patch.  It turns out our goto loop logic was terribly flawed.  The final
  patch to address this bug simply eliminates the odd looping that caused
  us to chop the extra character{s}.

  For each DirectoryMatch (or Directory ~ path) block, we looped back over
  the wrong code, causing us to chop more than a single character off the
  end of the name (when expected to simply chop off the trailing slash.)

  If the fix works for you, terrific.  You might also consider the correct
  patch, attaching in one moment.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message