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:
parent
ff644cfa1b
commit
0af02db6f2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user