NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/52383 CVS commit: [netbsd-7] src/sys/dev/usb



The following reply was made to PR kern/52383; it has been noted by GNATS.

From: "Soren Jacobsen" <snj%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/52383 CVS commit: [netbsd-7] src/sys/dev/usb
Date: Wed, 3 Jan 2018 21:18:03 +0000

 Module Name:	src
 Committed By:	snj
 Date:		Wed Jan  3 21:18:03 UTC 2018
 
 Modified Files:
 	src/sys/dev/usb [netbsd-7]: usb_subr.c
 
 Log Message:
 Pull up following revision(s) (requested by khorben in ticket #1541):
 	sys/dev/usb/usb_subr.c: revision 1.222
 Be more defensive towards malicious USB devices
 This avoids potential panics due to 0-sized memory allocation attempts,
 which could be triggered by malicious USB devices.
 Tested on NetBSD/amd64 with a Sony Xperia X (SailfishOS).
 Based on an initial patch by Nick Hudson <skrll%NetBSD.org@localhost>, thanks!
 Fixes PR kern/52383.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.196.4.3 -r1.196.4.4 src/sys/dev/usb/usb_subr.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index