[Scummvm-git-logs] scummvm master -> b6a60711fb21dc143fe024f4ab1327f8225420b0

sev- noreply at scummvm.org
Mon Aug 3 12:03:54 UTC 2026


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
b6a60711fb DIRECTOR: Fix use-after-free crash


Commit: b6a60711fb21dc143fe024f4ab1327f8225420b0
    https://github.com/scummvm/scummvm/commit/b6a60711fb21dc143fe024f4ab1327f8225420b0
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2026-08-03T14:03:46+02:00

Commit Message:
DIRECTOR: Fix use-after-free crash

Changed paths:
    engines/director/castmember/movie.cpp


diff --git a/engines/director/castmember/movie.cpp b/engines/director/castmember/movie.cpp
index ddf0e9840f9..46de5af1d9e 100644
--- a/engines/director/castmember/movie.cpp
+++ b/engines/director/castmember/movie.cpp
@@ -66,6 +66,7 @@ MovieCastMember::~MovieCastMember() {
 	delete _embeddedLingoState;
 	for (auto &it : _embeddedFrozenStates)
 		delete it;
+	_score = nullptr;	// Prevent use-after-free in Filmloop
 }
 
 Common::Array<Channel> *MovieCastMember::getSubChannels(Common::Rect &bbox, uint frame) {




More information about the Scummvm-git-logs mailing list