wireshark-v2g icon indicating copy to clipboard operation
wireshark-v2g copied to clipboard

"Range is out of bounds" error in handling malformed TLVs in ESDP message

Open JeremyWhaling opened this issue 6 months ago • 1 comments

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.

JeremyWhaling avatar Aug 15 '24 20:08 JeremyWhaling