mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-25 06:02:08 +00:00
BUG/MINOR: ssl_ckch: Fix possible uninitialized value in show_cafile I/O handler
Commit 5a2154bf7
("BUG/MINOR: ssl_ckch: Dump CA transaction only once if
show command yield") introduced a regression leading to a build error
because of a possible uninitialized value. It is now fixed.
This patch must be backported as far as 2.5.
This commit is contained in:
parent
d1d2e4dfe5
commit
677cb4fa91
@ -3075,7 +3075,7 @@ static int cli_io_handler_show_cafile(struct appctx *appctx)
|
||||
struct show_cafile_ctx *ctx = appctx->svcctx;
|
||||
struct buffer *trash = alloc_trash_chunk();
|
||||
struct ebmb_node *node;
|
||||
struct cafile_entry *cafile_entry;
|
||||
struct cafile_entry *cafile_entry = NULL;
|
||||
|
||||
if (trash == NULL)
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user