1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

s3: Fix Coverity ID 2317: Uninitialized read

We passed the structure including the uninitialized elements to
dcerpc_winreg_SetValue.
This commit is contained in:
Volker Lendecke 2011-03-16 17:19:13 +01:00
parent 329fcd4e34
commit df79b3ba76

View File

@ -776,7 +776,7 @@ static WERROR winreg_printer_write_date(TALLOC_CTX *mem_ctx,
const char *value,
NTTIME data)
{
struct winreg_String wvalue;
struct winreg_String wvalue = { 0, };
DATA_BLOB blob;
WERROR result = WERR_OK;
NTSTATUS status;