From 8fccf29e4ad863d7031f50aedcc5c1d6b1d5e5fe Mon Sep 17 00:00:00 2001 From: bol-van Date: Thu, 19 Sep 2024 18:27:35 +0300 Subject: [PATCH] nfqws: fix uninitialized host value --- nfq/protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nfq/protocol.c b/nfq/protocol.c index 78d3b2a..b83607e 100644 --- a/nfq/protocol.c +++ b/nfq/protocol.c @@ -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) { - const uint8_t *method, *host; + const uint8_t *method, *host=NULL; int i; switch(tpos_type)