1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

packet_struct is used in several places as raw memory

-> Fix more uninitialized variable warnings
This commit is contained in:
Volker Lendecke 2007-12-19 17:05:26 +01:00 committed by Volker Lendecke
parent ff644cfa1b
commit 0af02db6f2

View File

@ -740,6 +740,8 @@ struct packet_struct *parse_packet(char *buf,int length,
if (!p)
return(NULL);
ZERO_STRUCTP(p); /* initialize for possible padding */
p->next = NULL;
p->prev = NULL;
p->ip = ip;