HomeFreeBSD

Fix off-by-one in usb_decode_str_desc(). Previously it would decode

Description

Fix off-by-one in usb_decode_str_desc(). Previously it would decode
one character too many. Note that this function is only used to decode
string descriptors generated by the kernel itself.

Reviewed by: hselasky@
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation

Details

Provenance
traszAuthored on
Parents
rS333717: Retire vxge(4).
Branches
Unknown
Tags
Unknown