[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20191118143440.GB22736@duo.ucw.cz>
Date: Mon, 18 Nov 2019 15:34:40 +0100
From: Pavel Machek <pavel@...x.de>
To: Takashi Iwai <tiwai@...e.de>
Cc: alsa-devel@...a-project.org, Pavel Machek <pavel@...x.de>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ALSA: usb-audio: Fix incorrect NULL check in
create_yamaha_midi_quirk()
On Wed 2019-11-13 12:12:59, Takashi Iwai wrote:
> The commit 60849562a5db ("ALSA: usb-audio: Fix possible NULL
> dereference at create_yamaha_midi_quirk()") added NULL checks in
> create_yamaha_midi_quirk(), but there was an overlook. The code
> allows one of either injd or outjd is NULL, but the second if check
> made returning -ENODEV if any of them is NULL. Fix it in a proper
> form.
>
> Fixes: 60849562a5db ("ALSA: usb-audio: Fix possible NULL dereference at create_yamaha_midi_quirk()")
> Reported-by: Pavel Machek <pavel@...x.de>
> Cc: <stable@...r.kernel.org>
> Signed-off-by: Takashi Iwai <tiwai@...e.de>
Thanks for doing this.
Acked-by: Pavel Machek <pavel@...x.de>
Pavel
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Download attachment "signature.asc" of type "application/pgp-signature" (196 bytes)
Powered by blists - more mailing lists