bluetooth/btcomm/src/states.cpp
changeset 17 907b2fb7aa8e
parent 0 29b1cd4cb562
child 51 20ac952a623c
--- a/bluetooth/btcomm/src/states.cpp	Fri Mar 19 09:53:48 2010 +0200
+++ b/bluetooth/btcomm/src/states.cpp	Fri Apr 16 16:09:25 2010 +0300
@@ -693,6 +693,7 @@
 		RNetDatabase& netdb=aContext->iNetDatabase;
 
 		TSDPAttributeKey key;
+		Mem::FillZ(&key, sizeof(TSDPAttributeKey));
 		key.iQueryType = KSDPAttributeQuery;
 		// suck out the first service record handle.
 		iFactory->iExtractedHandleCount = 1;
@@ -798,6 +799,7 @@
 		CleanupStack::PopAndDestroy(2);
 
 		TSDPAttributeKey key;
+		Mem::FillZ(&key, sizeof(TSDPAttributeKey));
 		key.iMaxLength = 200;
 		key.iRange = EFalse;
 		key.iStateLength = 0;