From: Volker Lendecke Date: Wed, 26 Jun 2019 15:43:20 +0000 (+0200) Subject: vfs_preopen: Fix an uninitialized variable read X-Git-Tag: ldb-2.0.5~149 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c26e42cb53f9cfd9a54cacde64817ccf4ddd0412;p=thirdparty%2Fsamba.git vfs_preopen: Fix an uninitialized variable read Signed-off-by: Volker Lendecke Reviewed-by: Michael Adam --- diff --git a/source3/modules/vfs_preopen.c b/source3/modules/vfs_preopen.c index 27d218e1b87..6a1ccbd6f04 100644 --- a/source3/modules/vfs_preopen.c +++ b/source3/modules/vfs_preopen.c @@ -274,6 +274,7 @@ static NTSTATUS preopen_init_helpers(TALLOC_CTX *mem_ctx, size_t to_read, result->queue_max = queue_max; result->template_fname = NULL; result->fnum_sent = 0; + result->fnum_queue_end = 0; for (i=0; ihelpers[i].state = result;