commit | 7d388635526cffa79f4a62906f17afa5990f6092 | [log] [tgz] |
---|---|---|
author | Thierry FOURNIER <thierry.fournier@ozon.io> | Wed Feb 22 02:06:16 2017 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Feb 23 21:52:18 2017 +0100 |
tree | 4901c41d2dcd6f3ff56718515a48817bda128596 | |
parent | e3cc3a302651e905209b96e07203d03cf7e46ccb [diff] |
BUG/MAJOR: lua segmentation fault when the request is like 'GET ?arg=val HTTP/1.1' Error in the HTTP parser. The function http_get_path() can return NULL and this case is not catched in the code. So, we try to dereference NULL pointer, and a segfault occurs. These two lines are useful to prevent the bug. acl prevent_bug path_beg / http-request deny if !prevent_bug This bug fix should be backported in 1.6 and 1.7