smartdevicelink / sdl_core

SmartDeviceLink In-Vehicle Software and Sample HMI
BSD 3-Clause "New" or "Revised" License
241 stars 244 forks source link

Only call Json::Value::operator[] if PTU value is object type #3699

Closed iCollin closed 3 years ago

iCollin commented 3 years ago

Fixes https://github.com/smartdevicelink/sdl_core/issues/3698

This PR is ready for review.

Risk

This PR makes no API changes.

Testing Plan

Issue reproduction steps, Unit Tests, ATF

Summary

Check that PTU bulkData is parsed to type object before calling operator[] on the value

CLA