wireshark-v2g
wireshark-v2g copied to clipboard
"Range is out of bounds" error in handling malformed TLVs in ESDP message
Discovered when a TLV value is malformed within an ESDP packet, i.e., too short (in my case, it was a single byte instead of a proper TLV), the lua decoder would throw an error, "Range is out of bounds". The solution is to check for this in the function dissect_all_tlvs_in_packet. Once other pull requests have been processed, I will do a pull request with this fix.