diff options
author | Aki <please@ignore.pl> | 2020-08-16 01:33:22 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2020-08-16 01:33:22 +0200 |
commit | 8704dabe2d6f1129787266dfab089aea23d92f15 (patch) | |
tree | 6c7d617e903a8c75e373f642b7631a85da592ee6 | |
parent | 8796c9081555faf058bf1bf8979897b225fb21d5 (diff) | |
download | plop-8704dabe2d6f1129787266dfab089aea23d92f15.zip plop-8704dabe2d6f1129787266dfab089aea23d92f15.tar.gz plop-8704dabe2d6f1129787266dfab089aea23d92f15.tar.bz2 |
Fixed condition in header name step
-rw-r--r-- | request.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -245,7 +245,7 @@ int parse_step_header_name(struct request * request) lua_newtable(request->lua); } - if (request->position + 4 >= request->length) + if (request->length - request->position < 4) { return 0; } |