From: Clemens Ladisch <clemens@ladisch.de>
To: Ivan Sorokin <vanyacpp@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: valgrind error in snd_tlv_get_dB_range
Date: Sun, 19 Jan 2014 12:19:44 +0100 [thread overview]
Message-ID: <52DBB4D0.1040506@ladisch.de> (raw)
In-Reply-To: <52DBA5EB.3070104@gmail.com>
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
next prev parent reply other threads:[~2014-01-19 11:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-19 10:16 valgrind error in snd_tlv_get_dB_range Ivan Sorokin
2014-01-19 11:19 ` Clemens Ladisch [this message]
2014-01-19 12:22 ` Ivan Sorokin
2014-01-20 9:42 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52DBB4D0.1040506@ladisch.de \
--to=clemens@ladisch.de \
--cc=alsa-devel@alsa-project.org \
--cc=vanyacpp@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.