From a66fcde0eeceb1b431379780c196ee7220b023b8 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Fri, 6 Dec 2019 23:23:58 -0800 Subject: [PATCH] fix uninitialized data access --- .../fssystem/fssystem_directory_savedata_filesystem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stratosphere/libstratosphere/source/fssystem/fssystem_directory_savedata_filesystem.cpp b/stratosphere/libstratosphere/source/fssystem/fssystem_directory_savedata_filesystem.cpp index c7d7530b8..1be30c3f5 100644 --- a/stratosphere/libstratosphere/source/fssystem/fssystem_directory_savedata_filesystem.cpp +++ b/stratosphere/libstratosphere/source/fssystem/fssystem_directory_savedata_filesystem.cpp @@ -74,13 +74,13 @@ namespace ams::fssystem { } DirectorySaveDataFileSystem::DirectorySaveDataFileSystem(std::shared_ptr fs) - : PathResolutionFileSystem(fs) + : PathResolutionFileSystem(fs), open_writable_files(0) { /* ... */ } DirectorySaveDataFileSystem::DirectorySaveDataFileSystem(std::unique_ptr fs) - : PathResolutionFileSystem(std::forward>(fs)) + : PathResolutionFileSystem(std::forward>(fs)), open_writable_files(0) { /* ... */ }