v8/third_party/inspector_protocol/lib
Benedikt Meurer dc3eb44971 [inspector] Gracefully ignore non-dictionary values as session state.
The V8InspectorSessionImpl constructor accepts a state, as either text
or CBOR encoded, and generally ignores all invalid inputs, except for
the case where it's a valid value, but not a dictionary value, in which
case it'll leak the value and crash upon casting to a `DictionaryValue`.

This is purely an issue with the test driver, so no security impact on
Chromium in the wild.

Fixed: chromium:1281031
Change-Id: I7b4d0aea83370499b1274d3fa214a14dc098d2f2
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3361838
Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
Auto-Submit: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/main@{#78490}
2022-01-05 11:12:04 +00:00
..
base_string_adapter_cc.template Roll inspector-protocol to 32cf5f2bf4dc20c73ead291e68d2e2f6b638cd57 2021-07-09 13:01:24 +00:00
base_string_adapter_h.template Roll inspector_protocol to 94298cef795ec994106bdaff002c41182911b767 2020-12-09 11:17:27 +00:00
Forward_h.template Roll inspector_protocol to 94298cef795ec994106bdaff002c41182911b767 2020-12-09 11:17:27 +00:00
Object_cpp.template [DevTools] Roll inspector_protocol (V8) 2020-02-07 01:44:26 +00:00
Object_h.template Roll inspector_protocol library to inculude unified (de)serialization support 2020-07-02 14:08:19 +00:00
Protocol_cpp.template [DevTools] Roll inspector_protocol to 02ca2bc2bb337cb2d4143157383b554f9b75dc99. 2019-02-09 01:54:28 +00:00
ValueConversions_cpp.template Roll inspector_protocol to 35e8d2d89cb017d72cf905362672de77c978e1e 2021-05-15 01:24:37 +00:00
ValueConversions_h.template Roll inspector_protocol library to inculude unified (de)serialization support 2020-07-02 14:08:19 +00:00
Values_cpp.template Roll inspector_protocol library to inculude unified (de)serialization support 2020-07-02 14:08:19 +00:00
Values_h.template [inspector] Gracefully ignore non-dictionary values as session state. 2022-01-05 11:12:04 +00:00