summaryrefslogtreecommitdiff
path: root/src/common/string_util.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-10-03 01:47:32 -0400
committerLioncash <mathew1800@gmail.com>2018-10-03 01:47:34 -0400
commit37ee05f7c0f1fa8d94317e92795016e91f1bdfa6 (patch)
tree368407c3b64014409e0e742909b0de92cbae859a /src/common/string_util.cpp
parentccf0a9cb381cad75878c79b962ac61ded0466d08 (diff)
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