dolphin/Source/Core/DiscIO
Ferdinand Bachmann 6245dcd57d RVZ: Fix undefined behaviour when copying 0 bytes to a null pointer
A vector of length 0 can have a null data pointer, which causes UB when
passed to memcpy, so only copy when we actually have data to copy. This
caused crashes in certain cases when compiling Dolphin with Clang and
LTO enabled.
2024-08-27 18:16:43 +02:00
..
Blob.cpp DiscIO: Add support for CleanRip-style split ISOs. 2023-03-05 19:23:55 +01:00
Blob.h Added CopyReader to BlobReader and all subclasses 2023-10-01 09:04:06 -04:00
CISOBlob.cpp Added CopyReader to BlobReader and all subclasses 2023-10-01 09:04:06 -04:00
CISOBlob.h Added CopyReader to BlobReader and all subclasses 2023-10-01 09:04:06 -04:00
CMakeLists.txt CMake: Use targets for all optionally-external dependencies 2023-06-15 01:41:41 -05:00
CompressedBlob.cpp Remove redundant semicolons 2024-08-20 14:59:54 +02:00
CompressedBlob.h Added CopyReader to BlobReader and all subclasses 2023-10-01 09:04:06 -04:00
DirectoryBlob.cpp DiscIO: Remove unintentional use of comma operator 2023-11-05 09:24:49 +01:00
DirectoryBlob.h Added CopyReader to BlobReader and all subclasses 2023-10-01 09:04:06 -04:00
DiscExtractor.cpp Remove NKit data when extracting a GCN/Wii disc volume 2023-06-02 01:11:50 -05:00
DiscExtractor.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
DiscScrubber.cpp Added CopyReader to BlobReader and all subclasses 2023-10-01 09:04:06 -04:00
DiscScrubber.h Added CopyReader to BlobReader and all subclasses 2023-10-01 09:04:06 -04:00
DiscUtils.cpp Use C++20 erase_if() instead of erase(remove_if()) (NFC) 2024-07-21 16:36:06 +01:00
DiscUtils.h DolphinTool: CLI utility interface and disc image tools 2021-12-03 15:40:19 -06:00
Enums.cpp Tool/Header: Add JSON output mode; game data 2023-11-28 08:49:28 +00:00
Enums.h Tool/Header: Add JSON output mode; game data 2023-11-28 08:49:28 +00:00
FileBlob.cpp Added CopyReader to BlobReader and all subclasses 2023-10-01 09:04:06 -04:00
FileBlob.h Added CopyReader to BlobReader and all subclasses 2023-10-01 09:04:06 -04:00
Filesystem.cpp treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
Filesystem.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
FileSystemGCWii.cpp Use Common::ToLower and Common::ToUpper 2022-01-16 17:00:12 -08:00
FileSystemGCWii.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
GameModDescriptor.cpp get rid of HAS_STD_FILESYSTEM 2023-01-10 05:17:43 -08:00
GameModDescriptor.h Core: Add a Maker field for GameModDescriptors. 2022-01-02 06:06:53 +01:00
LaggedFibonacciGenerator.cpp licensing: convert "public domain" to CC0 1.0 2021-07-05 04:43:55 +02:00
LaggedFibonacciGenerator.h Fix all uninitialized variable warnings (C26495) 2021-10-13 12:32:16 -07:00
MultithreadedCompressor.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
NANDImporter.cpp NANDImporter: Check data bounds. 2023-04-02 03:45:34 +02:00
NANDImporter.h NANDImporter: Check data bounds. 2023-04-02 03:45:34 +02:00
NFSBlob.cpp Added CopyReader to BlobReader and all subclasses 2023-10-01 09:04:06 -04:00
NFSBlob.h Added CopyReader to BlobReader and all subclasses 2023-10-01 09:04:06 -04:00
RiivolutionParser.cpp Remove redundant semicolons 2024-08-20 14:59:54 +02:00
RiivolutionParser.h Fix uninitialized variable warnings (C26495) 2023-02-15 19:18:39 -08:00
RiivolutionPatcher.cpp Use a stub AchivementManager when USE_RETRO_ACHIEVEMENTS isn't defined 2024-06-06 08:26:20 +02:00
RiivolutionPatcher.h RiivolutionParser: Make use of std::span where applicable 2023-12-12 12:38:43 -05:00
ScrubbedBlob.cpp Added CopyReader to BlobReader and all subclasses 2023-10-01 09:04:06 -04:00
ScrubbedBlob.h Added CopyReader to BlobReader and all subclasses 2023-10-01 09:04:06 -04:00
SplitFileBlob.cpp Added CopyReader to BlobReader and all subclasses 2023-10-01 09:04:06 -04:00
SplitFileBlob.h Added CopyReader to BlobReader and all subclasses 2023-10-01 09:04:06 -04:00
TGCBlob.cpp Added CopyReader to BlobReader and all subclasses 2023-10-01 09:04:06 -04:00
TGCBlob.h Added CopyReader to BlobReader and all subclasses 2023-10-01 09:04:06 -04:00
Volume.cpp introduce wrapper for SHA1 functionality 2022-07-26 22:16:37 -07:00
Volume.h DiscIO: drop unused Volume::CheckContentIntegrity() overload 2024-05-26 00:10:26 +01:00
VolumeDisc.cpp introduce wrapper for SHA1 functionality 2022-07-26 22:16:37 -07:00
VolumeDisc.h introduce wrapper for SHA1 functionality 2022-07-26 22:16:37 -07:00
VolumeFileBlobReader.cpp Added CopyReader to BlobReader and all subclasses 2023-10-01 09:04:06 -04:00
VolumeFileBlobReader.h Added CopyReader to BlobReader and all subclasses 2023-10-01 09:04:06 -04:00
VolumeGC.cpp DiscIO: Replace IsDataSizeAccurate with GetDataSizeType 2022-08-04 22:00:59 +02:00
VolumeGC.h DiscIO: Replace IsDataSizeAccurate with GetDataSizeType 2022-08-04 22:00:59 +02:00
VolumeVerifier.cpp DiscIO: Don't keep volume pointer in DiscScrubber 2023-08-19 17:30:22 +02:00
VolumeVerifier.h DiscIO: Adjust GetDataSizeType logic for NFS 2022-08-04 22:00:59 +02:00
VolumeWad.cpp DiscIO: drop unused Volume::CheckContentIntegrity() overload 2024-05-26 00:10:26 +01:00
VolumeWad.h DiscIO: drop unused Volume::CheckContentIntegrity() overload 2024-05-26 00:10:26 +01:00
VolumeWii.cpp DiscIO: Replace IsDataSizeAccurate with GetDataSizeType 2022-08-04 22:00:59 +02:00
VolumeWii.h DiscIO: Replace IsDataSizeAccurate with GetDataSizeType 2022-08-04 22:00:59 +02:00
WbfsBlob.cpp Added CopyReader to BlobReader and all subclasses 2023-10-01 09:04:06 -04:00
WbfsBlob.h Added CopyReader to BlobReader and all subclasses 2023-10-01 09:04:06 -04:00
WIABlob.cpp RVZ: Fix undefined behaviour when copying 0 bytes to a null pointer 2024-08-27 18:16:43 +02:00
WIABlob.h Added CopyReader to BlobReader and all subclasses 2023-10-01 09:04:06 -04:00
WIACompression.cpp introduce wrapper for SHA1 functionality 2022-07-26 22:16:37 -07:00
WIACompression.h Remove redundant semicolons 2024-08-20 14:59:54 +02:00
WiiEncryptionCache.cpp treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
WiiEncryptionCache.h Fix all uninitialized variable warnings (C26495) 2021-10-13 12:32:16 -07:00
WiiSaveBanner.cpp Common: Convert FromWhichRoot to enum class 2023-06-13 13:25:22 -07:00
WiiSaveBanner.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00