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
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
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
Filesystem.h
FileSystemGCWii.cpp
FileSystemGCWii.h
GameModDescriptor.cpp get rid of HAS_STD_FILESYSTEM 2023-01-10 05:17:43 -08:00
GameModDescriptor.h
LaggedFibonacciGenerator.cpp
LaggedFibonacciGenerator.h
MultithreadedCompressor.h
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
Volume.h DiscIO: drop unused Volume::CheckContentIntegrity() overload 2024-05-26 00:10:26 +01:00
VolumeDisc.cpp
VolumeDisc.h
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
VolumeGC.h
VolumeVerifier.cpp DiscIO: Don't keep volume pointer in DiscScrubber 2023-08-19 17:30:22 +02:00
VolumeVerifier.h
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
VolumeWii.h
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
WIACompression.h Remove redundant semicolons 2024-08-20 14:59:54 +02:00
WiiEncryptionCache.cpp
WiiEncryptionCache.h
WiiSaveBanner.cpp Common: Convert FromWhichRoot to enum class 2023-06-13 13:25:22 -07:00
WiiSaveBanner.h