2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00
yuzu/src
Lioncash e7f9f58fa4 reporter: Eliminate undefined behavior in SaveErrorReport
The optionals are unconditionally dereferenced when setting the custom
error text, and in a few cases this function is called using the default
value of the optionals.

This means we'd be dereferencing uninitialized storage.

Since they're used unconditionally, we can use value_or to set a default
when storage is uninitialized.
2022-12-05 21:31:34 -05:00
..
audio_core cmake: prefer system libraries 2022-12-04 17:09:25 +01:00
common Merge pull request #6833 from abouvier/unbundle 2022-12-05 12:26:09 -05:00
core reporter: Eliminate undefined behavior in SaveErrorReport 2022-12-05 21:31:34 -05:00
dedicated_room CMake: Consolidate common PCH headers 2022-11-30 18:30:30 -05:00
input_common Merge pull request #9300 from ameerj/pch 2022-12-03 14:10:06 -05:00
network cmake: prefer system libraries 2022-12-04 17:09:25 +01:00
shader_recompiler Merge pull request #9300 from ameerj/pch 2022-12-03 14:10:06 -05:00
tests CMake: Consolidate common PCH headers 2022-11-30 18:30:30 -05:00
video_core Merge pull request #6833 from abouvier/unbundle 2022-12-05 12:26:09 -05:00
web_service cmake: prefer system libraries 2022-12-04 17:09:25 +01:00
yuzu Merge pull request #6833 from abouvier/unbundle 2022-12-05 12:26:09 -05:00
yuzu_cmd Merge pull request #6833 from abouvier/unbundle 2022-12-05 12:26:09 -05:00
.clang-format
CMakeLists.txt Merge pull request #9300 from ameerj/pch 2022-12-03 14:10:06 -05:00