Re: ioctl(arg) - uninitialised byte(s) in alsa lib

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mathieu Monney wrote:
> I'm currently working on a small audio stack on top of alsa and I'm
> getting some "Syscall param ioctl(arg) contains uninitialized byte(s)"
> errors when I run my program using valgrind.
>
> ==14279==    by 0x40DE911: snd_pcm_prepare (in /usr/lib/libasound.so.2.0.0)

The ioctl call is in src/pcm/pcm_hw.c:

	if (ioctl(fd, SNDRV_PCM_IOCTL_PREPARE) < 0) {

Apparently, valgrind doesn't detect the cases where there is no third
argument.


Regards,
Clemens
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux