mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-22 22:35:54 +00:00
nfqws: fix uninitialized host value
This commit is contained in:
parent
ebc2324edf
commit
8fccf29e4a
@ -165,7 +165,7 @@ bool HttpReplyLooksLikeDPIRedirect(const uint8_t *data, size_t len, const char *
|
|||||||
}
|
}
|
||||||
size_t HttpPos(enum httpreqpos tpos_type, size_t hpos_pos, const uint8_t *http, size_t sz)
|
size_t HttpPos(enum httpreqpos tpos_type, size_t hpos_pos, const uint8_t *http, size_t sz)
|
||||||
{
|
{
|
||||||
const uint8_t *method, *host;
|
const uint8_t *method, *host=NULL;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
switch(tpos_type)
|
switch(tpos_type)
|
||||||
|
Loading…
Reference in New Issue
Block a user