www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Moonhyoung Lee <p...@korea.com>
Subject mod_negotiation/8482: mod_negotiation could corrupt the value of request's mtime.
Date Sun, 07 Oct 2001 08:45:22 GMT

>Number:         8482
>Category:       mod_negotiation
>Synopsis:       mod_negotiation could corrupt the value of request's mtime.
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sun Oct 07 01:50:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     pooz@korea.com
>Release:        1.3.20
>Organization:
apache
>Environment:
Linux vaio.made21.com 2.4.3-12 #1 Fri Jun 8 15:05:56 EDT 2001 i686 unknown
>Description:
File: mod_negotiation.c
Func: read_types_multi()
Line: 1010
      set_vlist_validator(r, r);

When handling multiview, If there's no files matching, it could set request's
modified time (r->mtime) to unknown value. To prevent this, there should be 
a check for validity of r->finfo (or number of matches) before calling
set_vlist_validator().

Since r->mtime is checked against If-Modified-Since value, so if there's any
other module generating something without Last-Modified header, the check could
possibly fail.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]
 
 


Mime
View raw message