Call UsbMidiDescriptorParser::ParseDevice() from fuzzer to improve coverage
Also modifies DecodeBcd() to handle invalid inputs (and removes DCHECKs), since the inputs may come from an untrusted USB device. Change-Id: I387ec1fe51b6916fe7c097123936991d67f228aa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2033850 Commit-Queue: Dan McArdle <dmcardle@chromium.org> Auto-Submit: Dan McArdle <dmcardle@chromium.org> Reviewed-by:Yutaka Hirano <yhirano@chromium.org> Reviewed-by:
Takashi Toyoshima <toyoshim@chromium.org> Cr-Commit-Position: refs/heads/master@{#738582}
Showing
Please register or sign in to comment