summaryrefslogtreecommitdiff
path: root/src/common/string_util.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2018-10-03 01:47:32 -0400
committerGravatar Lioncash2018-10-03 01:47:34 -0400
commit37ee05f7c0f1fa8d94317e92795016e91f1bdfa6 (patch)
tree368407c3b64014409e0e742909b0de92cbae859a /src/common/string_util.cpp
parentsubmission_package: Move ExeFS and RomFS initialization to its own function (diff)
downloadyuzu-37ee05f7c0f1fa8d94317e92795016e91f1bdfa6.tar.gz
yuzu-37ee05f7c0f1fa8d94317e92795016e91f1bdfa6.tar.xz
yuzu-37ee05f7c0f1fa8d94317e92795016e91f1bdfa6.zip
submission_package: Ensure the 'extracted' member variable is always initialized
If an error occurs when constructing the PartitionFilesystem instance, the constructor would be exited early, which wouldn't initialize the extracted data member, making it possible for other code to perform an uninitialized read by calling the public IsExtractedType() member function. This prevents that.
Diffstat (limited to 'src/common/string_util.cpp')
0 files changed, 0 insertions, 0 deletions