1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

r1234: valgrind found this uninitialised var...

But I don't know how to fix this correct,
so maybe this needs to be fixed

(tridge: can you please look at this)

metze
This commit is contained in:
Stefan Metzmacher 2004-06-24 00:08:15 +00:00 committed by Gerald (Jerry) Carter
parent 10dd848729
commit b8b4d0d5bf

View File

@ -294,7 +294,14 @@ static NTSTATUS netr_ServerAuthenticate(struct dcesrv_call_state *dce_call, TALL
struct netr_ServerAuthenticate *r)
{
struct netr_ServerAuthenticate3 r3;
uint32 negotiate_flags, rid;
uint32_t rid;
/* TODO:
* negotiate_flags is used as an [in] parameter
* so it need to be initialised.
*
* (I think ... = 0; seems wrong here --metze)
*/
uint32 negotiate_flags = 0;
r3.in.server_name = r->in.server_name;
r3.in.account_name = r->in.account_name;