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
Blob.h
CISOBlob.cpp
CISOBlob.h
CMakeLists.txt
CompressedBlob.cpp Remove redundant semicolons 2024-08-20 14:59:54 +02:00
CompressedBlob.h
DirectoryBlob.cpp
DirectoryBlob.h
DiscExtractor.cpp
DiscExtractor.h
DiscScrubber.cpp
DiscScrubber.h
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
Enums.h
FileBlob.cpp
FileBlob.h
Filesystem.cpp
Filesystem.h
FileSystemGCWii.cpp
FileSystemGCWii.h
GameModDescriptor.cpp
GameModDescriptor.h
LaggedFibonacciGenerator.cpp
LaggedFibonacciGenerator.h
MultithreadedCompressor.h
NANDImporter.cpp
NANDImporter.h
NFSBlob.cpp
NFSBlob.h
RiivolutionParser.cpp Remove redundant semicolons 2024-08-20 14:59:54 +02:00
RiivolutionParser.h
RiivolutionPatcher.cpp Use a stub AchivementManager when USE_RETRO_ACHIEVEMENTS isn't defined 2024-06-06 08:26:20 +02:00
RiivolutionPatcher.h
ScrubbedBlob.cpp
ScrubbedBlob.h
SplitFileBlob.cpp
SplitFileBlob.h
TGCBlob.cpp
TGCBlob.h
Volume.cpp
Volume.h DiscIO: drop unused Volume::CheckContentIntegrity() overload 2024-05-26 00:10:26 +01:00
VolumeDisc.cpp
VolumeDisc.h
VolumeFileBlobReader.cpp
VolumeFileBlobReader.h
VolumeGC.cpp
VolumeGC.h
VolumeVerifier.cpp
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
WbfsBlob.h
WIABlob.cpp RVZ: Fix undefined behaviour when copying 0 bytes to a null pointer 2024-08-27 18:16:43 +02:00
WIABlob.h
WIACompression.cpp
WIACompression.h Remove redundant semicolons 2024-08-20 14:59:54 +02:00
WiiEncryptionCache.cpp
WiiEncryptionCache.h
WiiSaveBanner.cpp
WiiSaveBanner.h