git: DragonFly_RELEASE_2_4 uchcom: Fix panic when accessing a ucom device based on uchcom

Jan Lentfer lentferj at crater.dragonflybsd.org
Mon Jan 11 11:40:54 PST 2010


commit fbc62c4bd06ca5a1231171d7be11464cac6b42b2
Author: Jan Lentfer <Jan.Lentfer at web.de>
Date:   Mon Jan 11 20:20:07 2010 +0100

    uchcom: Fix panic when accessing a ucom device based on uchcom
    
    	The panic was due to uchcom_param arg being always NULL,
    	since ucom->sc_parent wasn't initialized properly.
    	All other usb serial drivers also seem to do it this way.

Summary of changes:
 sys/dev/usbmisc/uchcom/uchcom.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list