diff options
author | Jacob Abrams <satur9nine@gmail.com> | 2020-02-21 10:16:16 -0800 |
---|---|---|
committer | Jacob Abrams <satur9nine@gmail.com> | 2020-02-21 11:11:02 -0800 |
commit | 43d246c5c24291bd578eb46cfbc388dc74204db3 (patch) | |
tree | 0fc73bcdf491dc45ee721a0f111d68444efd0b19 /libutils/ProcessCallStack_fuzz.cpp | |
parent | 3c0e06d82953fcd1f0211d966868627a709dde25 (diff) |
Prevent infinite loop on zero length USB descriptors
If a USB device descriptor has zero length it is invalid and iteration
should stop otherwise the code iterating will go into an infinite loop.
Bug: 149986186
Test: attach bad USB device with invalid descriptor length 0 then attach
a good USB device and ensure it is recognized properly
Change-Id: I7571a6357bdc13af221cf8be01eba16f5bc976a3
Diffstat (limited to 'libutils/ProcessCallStack_fuzz.cpp')
0 files changed, 0 insertions, 0 deletions