Date: Mon, 15 Jul 2002 07:37:36 -0700 (PDT) From: Ian Dowse <iedowse@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/usb if_kue.c if_kuereg.h Message-ID: <200207151437.g6FEbbs2021962@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
iedowse 2002/07/15 07:37:36 PDT
Modified files:
sys/dev/usb if_kue.c if_kuereg.h
Log:
Re-fetch the interface handle after setting the config number,
because the previous interface handle gets freed when the config
number is set. This fixes a problem where memory could be accessed
after it was freed when the interface was ifconfig'd up.
Reviewed by: n_hibma
Revision Changes Path
1.41 +3 -1 src/sys/dev/usb/if_kue.c
1.11 +1 -0 src/sys/dev/usb/if_kuereg.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207151437.g6FEbbs2021962>
