ChargePoint / wireshark-v2g

Dissector for the V2G Protocols
Other
43 stars 18 forks source link

src: fix the bounds checking on the snprintf for the bytes #30

Closed chardin-cpi closed 1 year ago

chardin-cpi commented 1 year ago

Didn't compute the strsz correctly, so the last byte of the string would be truncated.

Fixes #24

Signed-off-by: Charles Hardin charles.hardin@chargepoint.com