Project

General

Profile

Bug #2981

mod_deflate_choose_encoding() parse error

Added by gstrauss 11 days ago. Updated 10 days ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
mod_deflate
Target version:
Start date:
2019-09-07
Due date:
% Done:

100%

Estimated time:
Missing in 1.5.x:

Description

mod_deflate_choose_encoding() parse error

--- a/src/mod_deflate.c
+++ b/src/mod_deflate.c
@@ -997,7 +997,7 @@ static int mod_deflate_choose_encoding (const char *value, plugin_data *p, const
       #else
         for (; *value; ++value) {
             const char *v;
-            while (*value == ' ' || *value == ',') continue;
+            while (*value == ' ' || *value == ',') ++value;
             v = value;
             while (*value!=' ' && *value!=',' && *value!=';' && *value!='\0')
                 ++value;

Associated revisions

Revision 2e7a3c0a (diff)
Added by gstrauss 11 days ago

[mod_deflate] fix choose encoding parse error (fixes #2981)

regression in mod_deflate in lighttpd 1.4.54

(thx ocin)

x-ref:
"mod_deflate_choose_encoding() parse error"
https://redmine.lighttpd.net/issues/2981

History

#1

Updated by gstrauss 10 days ago

  • Status changed from Patch Pending to Fixed
  • % Done changed from 0 to 100

Also available in: Atom