commit | 38b3aa56462568e89d5086bf941f09fcb5cfd755 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Apr 22 23:32:05 2014 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Apr 22 23:32:05 2014 +0200 |
tree | 03639ccbbd7f376bac74f4114c682737e1cbcfe1 | |
parent | c006dab8be808555b333ad7166efe943b71b57a2 [diff] |
BUG/MAJOR: http: fix bug in parse_qvalue() when selecting compression algo Commit ad90351 ("MINOR: http: Add the "language" converter to for use with accept-language") introduced a typo in parse_qvalue : if (*end) *end = qvalue; while it should be : if (end) *end = qvalue; Since end is tested for being NULL. This crashes when selecting the compression algorithm since end is NULL here. No backport is needed, this is just in latest 1.5-dev.