[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/53734 CVS commit: [netbsd-9] src/sys/dev/usb
The following reply was made to PR kern/53734; it has been noted by GNATS.
From: "Martin Husemann" <martin%netbsd.org@localhost>
Subject: PR/53734 CVS commit: [netbsd-9] src/sys/dev/usb
Date: Sun, 29 Dec 2019 11:13:48 +0000
Module Name: src
Committed By: martin
Date: Sun Dec 29 11:13:48 UTC 2019
src/sys/dev/usb [netbsd-9]: uvideo.c
Pull up following revision(s) (requested by mlelstv in ticket #590):
sys/dev/usb/uvideo.c: revision 1.50
sys/dev/usb/uvideo.c: revision 1.51
sys/dev/usb/uvideo.c: revision 1.52
Avoid kmem_alloc(0,..), which hits an assertion.
PR kern/53734: Prevent kernel panic during Wide Vision FHD Camera detection
Check if size is zero, too.
we want to check that the allocation is going to be zero, not whether
some pointer is NULL (oops).
Should be the right version this time!
To generate a diff of this commit:
cvs rdiff -u -r1.47 -r184.108.40.206 src/sys/dev/usb/uvideo.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |