[Scummvm-git-logs] scummvm master -> e9146658d9ad0609f6973867f392677dd2fd974e
sev-
noreply at scummvm.org
Fri Jan 27 19:02:12 UTC 2023
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
e9146658d9 DIRECTOR: Fix use after free
Commit: e9146658d9ad0609f6973867f392677dd2fd974e
https://github.com/scummvm/scummvm/commit/e9146658d9ad0609f6973867f392677dd2fd974e
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-01-27T20:01:51+01:00
Commit Message:
DIRECTOR: Fix use after free
Changed paths:
engines/director/resource.cpp
diff --git a/engines/director/resource.cpp b/engines/director/resource.cpp
index 3b20e9b2ebf..63651b581c9 100644
--- a/engines/director/resource.cpp
+++ b/engines/director/resource.cpp
@@ -461,8 +461,6 @@ Archive *Window::loadEXERIFX(Common::SeekableReadStream *stream, uint32 offset)
warning("Window::loadEXERIFX(): Failed to load RIFX from EXE");
delete result;
result = nullptr;
- delete stream;
- stream = nullptr;
}
return result;
}
More information about the Scummvm-git-logs
mailing list