From: Jaroslav Kysela <perex@perex.cz>
To: Stephen Warren <swarren@nvidia.com>
Cc: ALSA development <alsa-devel@alsa-project.org>
Subject: Re: [PATCH 2/2] alsaucm: Don't double-free empty lists
Date: Fri, 03 Jun 2011 11:50:07 +0200 [thread overview]
Message-ID: <4DE8AE4F.5020708@perex.cz> (raw)
In-Reply-To: <1307054713-32228-2-git-send-email-swarren@nvidia.com>
Date 3.6.2011 00:45, Stephen Warren wrote:
> When snd_use_case_get_list (and hence also snd_use_case_card_list) returns
> an empty list, alsaucm still attempts to free it. This ends up double-
> freeing the returned list, or worse, freeing an invalid pointer, depending
> on how snd_use_case_get_list gets implemented. Fix alsaucm to return early
> on empty lists to avoid this.
All four UCM patches were applied to our GIT repos.
Jaroslav
--
Jaroslav Kysela <perex@perex.cz>
Linux Kernel Sound Maintainer
ALSA Project; Red Hat, Inc.
prev parent reply other threads:[~2011-06-03 9:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-02 22:45 [PATCH 1/2] alsaucm: Add list1 command for non-tuple lists Stephen Warren
2011-06-02 22:45 ` [PATCH 2/2] alsaucm: Don't double-free empty lists Stephen Warren
2011-06-03 9:50 ` Jaroslav Kysela [this message]
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=4DE8AE4F.5020708@perex.cz \
--to=perex@perex.cz \
--cc=alsa-devel@alsa-project.org \
--cc=swarren@nvidia.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.