httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject cvs commit: apache-1.3/src/modules/standard mod_include.c
Date Mon, 25 Oct 2004 15:44:05 GMT
jim         2004/10/25 08:44:05

  Modified:    src/modules/standard mod_include.c
  Log:
  len is size_t so adjust as safe
  
  Submitted by:	Joe O.
  
  Revision  Changes    Path
  1.142     +1 -1      apache-1.3/src/modules/standard/mod_include.c
  
  Index: mod_include.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/modules/standard/mod_include.c,v
  retrieving revision 1.141
  retrieving revision 1.142
  diff -u -r1.141 -r1.142
  --- mod_include.c	22 Oct 2004 19:31:08 -0000	1.141
  +++ mod_include.c	25 Oct 2004 15:44:04 -0000	1.142
  @@ -431,7 +431,7 @@
   	if (d == len + dest) {
               ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, r,
                             "mod_include: directive length exceeds limit"
  -                          " (%d) in %s", len+1, r->filename);
  +                          " (%lu) in %s", (unsigned long)len+1, r->filename);
   	    return 1;
   	}
           *d++ = ap_tolower(c);
  
  
  

Mime
View raw message