]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix parsing of corrupt data in usbdump(8). Check that the transfer
authorhselasky <hselasky@FreeBSD.org>
Tue, 25 Jun 2019 13:15:29 +0000 (13:15 +0000)
committerhselasky <hselasky@FreeBSD.org>
Tue, 25 Jun 2019 13:15:29 +0000 (13:15 +0000)
commitf2d3e24052c1850eb054db3a20e56e14ffedfe77
tree6454e7acbb6f00237f10abda093e7fe51dbc103b
parent1a5fd513af7e3801164aea50e6e53cd0b12075d8
Fix parsing of corrupt data in usbdump(8). Check that the transfer
type array lookup is within bounds to avoid segfault.

PR: 238801
MFC after: 3 days
Sponsored by: Mellanox Technologies
usr.sbin/usbdump/usbdump.c