summaryrefslogtreecommitdiff
path: root/samples/vfio-mdev/mbochs.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-08-26 14:55:21 +0300
committerTakashi Iwai <tiwai@suse.de>2019-08-26 14:55:21 +0300
commit60849562a5db4a1eee2160167e4dce4590d3eafe (patch)
tree1d91d41ddca7aca332fd6de303fe32757655651a /samples/vfio-mdev/mbochs.c
parente0ccdef92653f8867e2d1667facfd3c23699f540 (diff)
downloadlinux-60849562a5db4a1eee2160167e4dce4590d3eafe.tar.xz
ALSA: usb-audio: Fix possible NULL dereference at create_yamaha_midi_quirk()
The previous addition of descriptor validation may lead to a NULL dereference at create_yamaha_midi_quirk() when either injd or outjd is NULL. Add proper non-NULL checks. Fixes: 57f8770620e9 ("ALSA: usb-audio: More validations of descriptor units") Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'samples/vfio-mdev/mbochs.c')
0 files changed, 0 insertions, 0 deletions