Project

General

Profile

Actions

Bug #735

closed

mod_cml crash due to missing etag (on If-None-Match requests)

Added by dg almost 18 years ago. Updated about 15 years ago.

Status:
Fixed
Priority:
Normal
Category:
mod_cml
Target version:
-
ASK QUESTIONS IN Forums:

Description

When If-None-Match is specified and mod_cml gets a cache hit it will not populate the con->physical.etag field leading to a null pointer dereference (in http_response_handle_cachable).

I fixed this by adding (around line 407 of mod_cml_lua.c):


   buffer_copy_string(con->physical.etag, "unknown");

Which works as mod_cml doesn't attempt to send an etag but really it needs to generate etags and handle them properly.

Actions #1

Updated by stbuehler over 15 years ago

  • Status changed from New to Fixed
  • Resolution set to wontfix

mod_cml is deprecated.

Actions #2

Updated by stbuehler over 15 years ago

  • Status changed from Fixed to Wontfix
Actions #3

Updated by stbuehler about 15 years ago

  • Status changed from Wontfix to Fixed
  • Patch available set to No

Fixed in r1971.

Actions

Also available in: Atom