Descent3/cfile
Jan Engelhardt 571c0199e9 Resolve use-after-free in cf_CopyFile
==92396==ERROR: AddressSanitizer: heap-use-after-free on address 0x504000034ae8 at pc 0x000000f86037 bp 0x7fffffffa9d0 sp 0x7fffffffa9c8
READ of size 4 at 0x504000034ae8 thread T0
    f0 cf_CopyFile(std::filesystem::__cxx11::path const&, std::filesystem::__cxx11::path const&, int) $GIT/cfile/cfile.cpp:856
    f1 _extractscript(char*, char*) $GIT/Descent3/OsirisLoadandBind.cpp:3109
    f2 Osiris_ExtractScriptsFromHog(int, bool) $GIT/Descent3/OsirisLoadandBind.cpp:3185
    f3 InitIOSystems $GIT/Descent3/init.cpp:1549
    f4 InitD3Systems1(bool) $GIT/Descent3/init.cpp:1827
2024-08-30 01:25:56 +02:00
..
tests
cfile.cpp Resolve use-after-free in cf_CopyFile 2024-08-30 01:25:56 +02:00
cfile.h
CMakeLists.txt
hogfile.cpp
hogfile.h
inffile.cpp
inffile.h Move platform-specific defines and macros to own file crossplat.h 2024-08-20 23:09:27 +03:00