From 594ff865605fb1f511275f7d2cfeff88cb92e2ed Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Sat, 7 Feb 2004 04:22:12 +0000 Subject: [PATCH] * serv_network.c: fixed a problem with an uninitialized data structure --- citadel/ChangeLog | 4 ++++ citadel/serv_network.c | 1 + 2 files changed, 5 insertions(+) diff --git a/citadel/ChangeLog b/citadel/ChangeLog index 101a28382..523bcd0c5 100644 --- a/citadel/ChangeLog +++ b/citadel/ChangeLog @@ -1,4 +1,7 @@ $Log$ + Revision 614.20 2004/02/07 04:22:12 ajc + * serv_network.c: fixed a problem with an uninitialized data structure + Revision 614.19 2004/02/06 04:40:50 ajc * Suppress posting of messages to Aide> when the loopzapper catches dupes. * New command NSYN to sync the entire contents of a room to a specified @@ -5283,3 +5286,4 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant Fri Jul 10 1998 Art Cancro * Initial CVS import + diff --git a/citadel/serv_network.c b/citadel/serv_network.c index 2778f76cf..b71b889ea 100644 --- a/citadel/serv_network.c +++ b/citadel/serv_network.c @@ -853,6 +853,7 @@ int network_sync_to(char *target_node) { int num_spooled = 0; /* Concise syntax because we don't need a full linked-list */ + memset(&sc, 0, sizeof(struct SpoolControl)); sc.ignet_push_shares = (struct namelist *) mallok(sizeof(struct namelist)); sc.ignet_push_shares->next = NULL; -- 2.39.2