Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
3.4.0, 3.3.2
-
None
Description
Accessing a const object with the reference operator with a missing key is undefined behavior and yields a runtime assertion in nlohmann::json library.
The codebase should be checked for such usage of the reference operator. Fix is to either use checked access with the at() function or call the contains() function before referencing.
Usage of reference operator with non-const object is ok as any missing keys are added.
Attachments
Issue Links
- is required for
-
QLS-1820 Needed improvements and fixes for QLS 3.5.0
-
- Open
-