git: kernel/usb4bsd, kernel/sound: Fix detach panic

Markus Pfeiffer profmakx at crater.dragonflybsd.org
Sun Feb 22 14:34:14 PST 2015


commit d78ce965185bbe24349ec52eeb17e712b8a0d8dc
Author: Markus Pfeiffer <profmakx at dragonflybsd.org>
Date:   Sun Feb 22 21:59:59 2015 +0000

    kernel/usb4bsd, kernel/sound: Fix detach panic
    
    The kernel paniced when unplugging a USB sound device. This was
    due to a NULL td_proc pointer being dereferenced.

Summary of changes:
 sys/dev/sound/pcm/sndstat.c | 30 ++++++++++++++++++++++++++----
 1 file changed, 26 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d78ce965185bbe24349ec52eeb17e712b8a0d8dc


-- 
DragonFly BSD source repository


More information about the Commits mailing list