|
From: Banibrata D. <du...@in...> - 2004-04-19 07:32:02
|
i thought that i'd not have to worry about it. well, actually i am sure i don't have to do that, because in message finally sent out on the wire, is composed by also looking at length of various parameters, s.t. i do not really read any of the garbage octets. thanks & regards, bani. > -----Original Message----- > From: Henrik Nordstrom [mailto:hn...@ma...] > Sent: Monday, April 19, 2004 12:51 PM > To: Banibrata Dutta > Cc: 'Nicholas Nethercote'; val...@li... > Subject: RE: [Valgrind-users] Syscall param > socketcall.send(msg) contains uninitialised or unaddressable byte > > > On Mon, 19 Apr 2004, Banibrata Dutta wrote: > > > so, if i do a bzero() or memset() of mMsgPtr (for the > entire allocated > > size), this error message should go away? > > Yes. Or otherwise make sure all bits in the message you send is > initialized. > > If you don't do this you send out "random garbage" in the > parts of the message not initialized, and this may include > sensitive information about your system or applications. > > Regards > Henrik > |