Hi,

I'm trying to run PulseAudio under valgrind, and I think valgrind is 
reporting a false positive; i e, it reports "Conditional jump or move 
depend on uninitialised value(s)" where in fact the value seems to be 
perfectly initialised and correct.

I've tracked it down to function snd_ctl_hw_elem_tlv in alsa-lib [1]. As 
you can see, if the ioctl command is SNDRV_CTL_IOCTL_TLV_READ, the 
kernel writes X bytes into output, where X = 4 * sizeof(unsigned int) + 
the number in output[3] (if output is an array of unsigned ints).

I'm a little unsure of how to proceed with this?

-- 
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic

[1] 
http://git.alsa-project.org/?p=alsa-lib.git;a=blob;f=src/control/control_hw.c;h=1920c99a5ad3c5c34dafe7dd2c2f51bb801dea5c;hb=HEAD#l214

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to