1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s4:libnet: Fix uninitialized value "seq_num"

Found by covscan.

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Pavel Filipenský 2022-01-25 21:05:26 +01:00 committed by Volker Lendecke
parent dbbad4b500
commit 851fc9d60d

View File

@ -589,7 +589,7 @@ WERROR libnet_vampire_cb_store_chunk(void *private_data,
struct repsFromTo1 *s_dsa;
char *tmp_dns_name;
uint32_t i;
uint64_t seq_num;
uint64_t seq_num = 0;
bool is_exop = false;
struct ldb_dn *partition_dn = NULL;
struct ldb_dn *nc_root = NULL;