3
0
Fork 0
forked from suyu/suyu
suyu/src/core/file_sys
Lioncash 5c72aa7c4c patch_manager: Prevent use of a dangling pointer within PatchRomFS
fmt::format() returns a std::string instance by value, so calling
.c_str() on it here is equivalent to doing:

auto* ptr = std::string{}.c_str();

The data being pointed to isn't guaranteed to actually be valid anymore
after that expression ends. Instead, we can just take the string as is,
and provide the necessary formatting parameters.
2018-12-11 10:08:13 -05:00
..
system_archive system_archive: Implement open source NgWord2 2018-12-06 10:17:50 -05:00
bis_factory.cpp bis_factory: Add getter for mod dump root for a title ID 2018-10-29 16:08:03 -04:00
bis_factory.h bis_factory: Add getter for mod dump root for a title ID 2018-10-29 16:08:03 -04:00
card_image.cpp file_sys: Use common KeyManager in NCA container types 2018-11-01 20:23:38 -04:00
card_image.h file_sys/card_image: Provide named members for the GamecardInfo struct 2018-11-20 18:40:53 -05:00
content_archive.cpp content_archive: Add optional KeyManager parameter to constructor 2018-11-01 20:22:29 -04:00
content_archive.h content_archive: Add optional KeyManager parameter to constructor 2018-11-01 20:22:29 -04:00
control_metadata.cpp control_metadata: Correct typo in language name (Portugese -> Portuguese) 2018-11-27 13:21:46 -05:00
control_metadata.h control_metadata: Add GetRawBytes function to NACP 2018-10-29 13:54:38 -04:00
directory.h file_sys/directory: Amend path buffer size for directory entries 2018-12-02 23:15:58 -05:00
errors.h file_sys/errors: Remove currently unused filesystem error codes 2018-11-16 00:18:22 -05:00
fsmitm_romfsbuild.cpp fsmitm_romfsbuild: Extract stubs and IPS to romfs_ext dir 2018-10-04 12:29:20 -04:00
fsmitm_romfsbuild.h general: Remove unused boost inclusions where applicable 2018-10-30 00:09:46 -04:00
ips_layer.cpp global: Use std::optional instead of boost::optional (#1578) 2018-10-30 00:03:25 -04:00
ips_layer.h ips_layer: Add missing includes 2018-10-09 14:10:13 -04:00
mode.h VFS Regression and Accuracy Fixes (#776) 2018-07-23 19:40:35 -07:00
nca_metadata.cpp file-sys: Default heavy-weight class destructors in the cpp file 2018-09-19 19:34:08 -04:00
nca_metadata.h file-sys: Default heavy-weight class destructors in the cpp file 2018-09-19 19:34:08 -04:00
nca_patch.cpp Port #4182 from Citra: "Prefix all size_t with std::" 2018-09-15 15:21:06 +02:00
nca_patch.h Port #4182 from Citra: "Prefix all size_t with std::" 2018-09-15 15:21:06 +02:00
partition_filesystem.cpp vfs: Remove InterpretAsDirectory and related functions 2018-10-19 14:02:07 -04:00
partition_filesystem.h vfs: Remove InterpretAsDirectory and related functions 2018-10-19 14:02:07 -04:00
patch_manager.cpp patch_manager: Prevent use of a dangling pointer within PatchRomFS 2018-12-11 10:08:13 -05:00
patch_manager.h patch_manager: Obey disabled add-ons list when patching game 2018-12-03 17:21:25 -05:00
program_metadata.cpp process/vm_manager: Amend API to allow reading parameters from NPDM metadata 2018-09-24 17:24:50 -04:00
program_metadata.h process/vm_manager: Amend API to allow reading parameters from NPDM metadata 2018-09-24 17:24:50 -04:00
registered_cache.cpp file_sys/registered_cache: Eliminate variable shadowing 2018-12-01 23:50:13 -05:00
registered_cache.h file_sys/registered_cache: Remove unused <map> include 2018-11-27 16:33:18 -05:00
romfs.cpp fsmitm_romfsbuild: Extract stubs and IPS to romfs_ext dir 2018-10-04 12:29:20 -04:00
romfs.h fsmitm_romfsbuild: Extract stubs and IPS to romfs_ext dir 2018-10-04 12:29:20 -04:00
romfs_factory.cpp filesystem: De-globalize registered_cache_union 2018-12-01 23:43:23 -05:00
romfs_factory.h romfs_factory: Extract packed update setter to new function 2018-10-05 08:53:51 -04:00
savedata_factory.cpp savedata_factory: Add support for CacheStorage 2018-12-07 08:47:32 -05:00
savedata_factory.h file_sys/save_data_factory: Update SaveDataSpaceId enum 2018-12-07 18:52:18 -05:00
sdmc_factory.cpp file_sys/registered_cache: Use unique_ptr and regular pointers instead of shared_ptrs where applicable 2018-10-16 09:38:52 -04:00
sdmc_factory.h file_sys/registered_cache: Use unique_ptr and regular pointers instead of shared_ptrs where applicable 2018-10-16 09:38:52 -04:00
submission_package.cpp file_sys: Use common KeyManager in NCA container types 2018-11-01 20:23:38 -04:00
submission_package.h file_sys: Use common KeyManager in NCA container types 2018-11-01 20:23:38 -04:00
vfs.cpp file_sys: Override missing mutating functions to be stubbed out for ReadOnlyVfsDirectory by default 2018-11-30 23:52:56 -05:00
vfs.h file_sys: Override missing mutating functions to be stubbed out for ReadOnlyVfsDirectory by default 2018-11-30 23:52:56 -05:00
vfs_concat.cpp vfs_concat/vfs_layered: Remove friend declarations from ConcatenatedVfsFile 2018-09-25 20:06:01 -04:00
vfs_concat.h vfs_concat/vfs_layered: Remove friend declarations from ConcatenatedVfsFile 2018-09-25 20:06:01 -04:00
vfs_layered.cpp vfs: Remove InterpretAsDirectory and related functions 2018-10-19 14:02:07 -04:00
vfs_layered.h vfs: Remove InterpretAsDirectory and related functions 2018-10-19 14:02:07 -04:00
vfs_offset.cpp global: Use std::optional instead of boost::optional (#1578) 2018-10-30 00:03:25 -04:00
vfs_offset.h global: Use std::optional instead of boost::optional (#1578) 2018-10-30 00:03:25 -04:00
vfs_real.cpp vfs: Remove InterpretAsDirectory and related functions 2018-10-19 14:02:07 -04:00
vfs_real.h vfs: Remove InterpretAsDirectory and related functions 2018-10-19 14:02:07 -04:00
vfs_static.h global: Use std::optional instead of boost::optional (#1578) 2018-10-30 00:03:25 -04:00
vfs_types.h vfs: Move forward declarations to separate file 2018-10-07 13:15:11 -04:00
vfs_vector.cpp file_sys: Implement system archive synthesizer for NgWord (806) 2018-11-22 21:39:10 -05:00
vfs_vector.h file_sys: Implement system archive synthesizer for NgWord (806) 2018-11-22 21:39:10 -05:00
xts_archive.cpp vfs: Remove InterpretAsDirectory and related functions 2018-10-19 14:02:07 -04:00
xts_archive.h vfs: Remove InterpretAsDirectory and related functions 2018-10-19 14:02:07 -04:00