mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix a bug I introduced in the chunk decoder in the previous commit..
This commit is contained in:
parent
dea29ca1d5
commit
3f4823c55d
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ _http_new_chunk(struct cookie *c)
|
|||
if (_fetch_getln(c->conn) == -1)
|
||||
return (-1);
|
||||
|
||||
if (c->b_len < 2 || !ishexnumber(*c->conn->buf))
|
||||
if (c->conn->buflen < 2 || !ishexnumber(*c->conn->buf))
|
||||
return (-1);
|
||||
|
||||
for (p = c->conn->buf; *p && !isspace(*p); ++p) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue