[PATCH] ALSA: korg1212: Fix crash in snd_korg1212_create()

Takashi Iwai tiwai at suse.de
Wed Jul 21 16:04:03 CEST 2021


On Wed, 21 Jul 2021 16:01:22 +0200,
Dan Carpenter wrote:
> 
> The "dsp_code" is not initialized until the next line so we can't
> dereference it.
> 
> Fixes: b5cde369b618 ("ALSA: korg1212: Allocate resources with device-managed APIs")
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

Thanks, it's already addressed by commit d364a600d6ed.


Takashi


More information about the Alsa-devel mailing list