summaryrefslogtreecommitdiff
path: root/decoders/eeprom24xx
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2015-08-14 19:01:39 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2015-08-14 19:16:48 +0200
commit3e84c443857ae649be31df7ca13690c6d3578e54 (patch)
tree4173adb72616e9af3043721252306c25b0668f6d /decoders/eeprom24xx
parent42227c2d29c8330c955cf64cf92be0bf1bf4aeeb (diff)
downloadlibsigrokdecode-3e84c443857ae649be31df7ca13690c6d3578e54.tar.gz
libsigrokdecode-3e84c443857ae649be31df7ca13690c6d3578e54.zip
usb_packet: Handle invalid packets more gracefully.
Previously the PD was blindly trying to decode any packet, no matter whether it was too short (and/or bogus) or not, causing issues like this: srd: Calling usb_packet decode(): IndexError: list index out of range Such cases of invalid input are now handled better by emitting "UNKNOWN" and "Invalid packet" annotations. This fixes bug #186.
Diffstat (limited to 'decoders/eeprom24xx')
0 files changed, 0 insertions, 0 deletions