Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Jaroslav Kysela <perex@perex.cz>
Cc: ALSA development <alsa-devel@alsa-project.org>,
	coverity-bot <keescook@chromium.org>
Subject: Re: [PATCH] ALSA: usb-audio: Fix possible NULL pointer dereference in snd_usb_pcm_has_fixed_rate()
Date: Fri, 13 Jan 2023 09:56:10 +0100	[thread overview]
Message-ID: <87a62m6cet.wl-tiwai@suse.de> (raw)
In-Reply-To: <20230113085311.623325-1-perex@perex.cz>

On Fri, 13 Jan 2023 09:53:11 +0100,
Jaroslav Kysela wrote:
> 
> The subs function argument may be NULL, so do not use it before the NULL check.
> 
> Fixes: 291e9da91403 ("ALSA: usb-audio: Always initialize fixed_rate in snd_usb_find_implicit_fb_sync_format()")
> Reported-by: coverity-bot <keescook@chromium.org>
> Link: https://lore.kernel.org/alsa-devel/202301121424.4A79A485@keescook/
> Signed-off-by: Jaroslav Kysela <perex@perex.cz>

Applied, thanks.


Takashi

      reply	other threads:[~2023-01-13  8:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-13  8:53 [PATCH] ALSA: usb-audio: Fix possible NULL pointer dereference in snd_usb_pcm_has_fixed_rate() Jaroslav Kysela
2023-01-13  8:56 ` Takashi Iwai [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=87a62m6cet.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=keescook@chromium.org \
    --cc=perex@perex.cz \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox