19 Jan
2014
19 Jan
'14
12:19 p.m.
Ivan Sorokin wrote:
One program (qasmixer -- alsa mixer) on my system prints lots of valgrind errors.
Yes, these are errors in valgrind.
As I understand the problem is that init_db_range initialize invalid rec->db_info, because snd_hctl_elem_tlv_read failed to fully initialize tlv:
snd_hctl_elem_tlv_read initializes as many bytes as needed.
I'd guess valgrind doesn't notice this because this is done through an ioctl, in the kernel.
Regards, Clemens