mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
http: skip NULs between fragments
This commit is contained in:
parent
b30af71ad8
commit
e9d1782863
1 changed files with 1 additions and 1 deletions
|
@ -789,7 +789,7 @@ lws_parse_urldecode(struct lws *wsi, uint8_t *_c)
|
|||
ah->nfrag++;
|
||||
if (ah->nfrag >= ARRAY_SIZE(ah->frags))
|
||||
goto excessive;
|
||||
ah->frags[ah->nfrag].offset = ah->pos;
|
||||
ah->frags[ah->nfrag].offset = ++ah->pos;
|
||||
ah->frags[ah->nfrag].len = 0;
|
||||
ah->frags[ah->nfrag].nfrag = 0;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue