mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-09 00:32:33 -04:00
BUG/MINOR: httpclient: fix uninitialized sl variable
Reported by coverity in ticket #1355 CID 1461505: Memory - illegal accesses (UNINIT) Using uninitialized value "sl". Fix the problem by initializing sl to NULL.
This commit is contained in:
parent
3b2533fa1a
commit
b70203017b
1 changed files with 1 additions and 1 deletions
|
|
@ -437,7 +437,7 @@ static void httpclient_applet_io_handler(struct appctx *appctx)
|
|||
struct channel *res = &s->res;
|
||||
struct htx_blk *blk = NULL;
|
||||
struct htx *htx;
|
||||
struct htx_sl *sl;
|
||||
struct htx_sl *sl = NULL;
|
||||
int32_t pos;
|
||||
uint32_t hdr_num;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue