On Wed, Feb 02, 2011 at 05:55:30PM -0800, Steve Singh wrote:
> ==28571== Syscall param msgsnd(msgp->mtext) points to uninitialised byte(s)
...
> typedef _f_msg {
>      long mtype;
>      unsigned int quit_type;
>      char *quit_msg;
>      int prolong;
>      unsigned long prolong_count;
>      unsigned short prolong_type;
> } f_msg;
> 
> In my function, I definitely initialize every value in the structure (both
> by clearing with memset and also individually), but I still get this
> message.

Assuming that msgp is f_msg *, I fail to see mtext in f_msg. Is it the
right struct?

With kind regards,
-- 
Baurzhan Ismagulov
http://www.kz-easy.com/

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to