Open Bug 1640068 Opened 4 years ago Updated 4 years ago

OpenVR code can fail JSON parsing and raise exceptions

Categories

(Core :: WebVR, defect, P5)

defect

Tracking

()

Future

People

(Reporter: thomasmo, Unassigned)

Details

Filed from this issue:
https://phabricator.services.mozilla.com/D74965#inline-436909

A fix is needed to properly handle OpenVR configuration JSON parsing errors without crashing the VR process. OpenVR's lib source code is vendored into Gecko, which means also importing having exceptions enabled for JSON parsing.

Possible solutions may include replacing the JSON parser or building the OpenVR code as its own library with exceptions enabled and a wrapper function that translates the catch block to return an error code.

Summary: CVRPathRegistry_Public::BLoadFromFile → OpenVR code can fail JSON parsing and raise exceptions

The severity field is not set for this bug.
:kip, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(kgilbert)
Severity: N/A → S3
Flags: needinfo?(kgilbert)
You need to log in before you can comment on or make changes to this bug.