[SCM] Samba Shared Repository - branch v3-0-test updated -
release-3-0-28-51-g3cf02ba
Volker Lendecke
vl at samba.org
Wed Dec 19 16:08:13 GMT 2007
The branch, v3-0-test has been updated
via 3cf02ba9781ff8c841f56945d70241a3c11f0f28 (commit)
from 01b5cdaac8a92635886a920772f2168734048e16 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-0-test
- Log -----------------------------------------------------------------
commit 3cf02ba9781ff8c841f56945d70241a3c11f0f28
Author: Volker Lendecke <vl at sernet.de>
Date: Wed Dec 19 17:05:26 2007 +0100
packet_struct is used in several places as raw memory
-> Fix more uninitialized variable warnings
-----------------------------------------------------------------------
Summary of changes:
source/libsmb/nmblib.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/libsmb/nmblib.c b/source/libsmb/nmblib.c
index 5280dfd..641473b 100644
--- a/source/libsmb/nmblib.c
+++ b/source/libsmb/nmblib.c
@@ -702,6 +702,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 = lastip;
--
Samba Shared Repository
More information about the samba-cvs
mailing list