Skip to content
Commit 6f6c1475 authored by Dave Jones's avatar Dave Jones Committed by Adrian Bunk
Browse files

[ALSA] Fix use after free in opl3_seq and opl3_oss



Don't read from free'd memory.  Also make use of the return
value, and don't register the device if something went wrong
creating the port.

Coverity #954, #955

Signed-off-by: default avatarDave Jones <davej@redhat.com>
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
parent 79bb7147
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment