SALSA-Lib: snd_pcm_hw_params_any clobbers memory

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

 



Dear list,

Using SALSA-Lib 0.0.2, I call
   snd_pcm_open
   snd_pcm_hw_params_malloc
   snd_pcm_hw_params_any

The call to snd_pcm_hw_params_any appears to clobber memory beyond the
end of the hw_params allocated by snd_pcm_hw_params_malloc (as reported
by linking in -lmcheck).

The code is being cross-compiled and tested on an ARM processor
(PXA270) which is running linux kernel 2.6.21.   This same code sequence
-does- operate properly (in the same ARM test environment) when compiled
against AlsaLib 1.0.13.

I got "lost" somewhere around the hw_refine IOCTL ....  Any suggestions
appreciated :)

Thanks, Scott.



_______________________________________________
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