The only fully-featured reference implementation of the Vehicle-2-Grid communication interface ISO 15118
220
stars
92
forks
source link
Payload length field of V2G-TP is interpreted as signed integer instead of unsigned #65
Open
geynis opened 3 years ago
The payload length field of V2G-TP is interpreted as signed integer instead of unsigned, so test like:
if (getPayloadLength() > 10000 )
will not catch cases when the value is larger than 0x7FFFFFFF, this will result later in an exception trying to create an array with negative length.