You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is currently only used to retrieve the vehicle.profile value (if present). We enforce a check on whether the key exists but not on the actual type before calling GetString. As a result, setting e.g. "profile": 42 for a vehicle hits a rapidjson assertion or crashes.
The text was updated successfully, but these errors were encountered:
The current way we parse strings in json input is as follows:
vroom/src/utils/input_parser.cpp
Lines 50 to 53 in 638f6d1
This is currently only used to retrieve the
vehicle.profile
value (if present). We enforce a check on whether the key exists but not on the actual type before callingGetString
. As a result, setting e.g."profile": 42
for a vehicle hits arapidjson
assertion or crashes.The text was updated successfully, but these errors were encountered: