1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-22 22:13:35 +02:00
vcmi/client
Ivan Savenko 9fbeacb688 Fix possible memory corruption in video player
Fixes two bugs, one was definitely happening, and 2nd one that is causing
undefined behavior and may work only in some std implementations

- VideoPlayer would attempt to access subtitles widget after VideoPlayer
itself was destroyed in onPlaybackFinished call
- std::function was destroyed from a function that is being called by
it. Replaced with 1-method interface to avoid usage of std::function in
this scenario
2024-12-07 15:37:03 +00:00
..
adventureMap remove test 2024-11-30 15:52:39 +01:00
battle Fix shooting being priority action for dead creature hexes with targeting empty hexes enabled 2024-12-03 18:04:41 +01:00
eventsSDL Update client/eventsSDL/InputSourceGameController.cpp 2024-11-27 00:24:33 +08:00
globalLobby Mod management rework, part 1 2024-11-26 13:55:46 +00:00
gui
ios
lobby Merge pull request #4989 from IvanSavenko/ai_fix 2024-11-27 16:41:53 +02:00
mainmenu Fix possible memory corruption in video player 2024-12-07 15:37:03 +00:00
mapView code review 2024-12-05 23:31:03 +01:00
media use video player for spellbook animation 2024-11-29 21:58:20 +01:00
render code review 2024-12-05 23:31:03 +01:00
renderSDL text fixes 2024-11-30 00:41:09 +01:00
widgets Fix possible memory corruption in video player 2024-12-07 15:37:03 +00:00
windows Fix possible memory corruption in video player 2024-12-07 15:37:03 +00:00
xBRZ
ArtifactsUIController.cpp ask assemble artifact dialog fix 2024-11-10 16:50:58 +02:00
ArtifactsUIController.h
CGameInfo.cpp
CGameInfo.h
Client.cpp
Client.h
ClientCommandManager.cpp More robust management of body/shadow/overlay split 2024-11-17 17:54:55 +00:00
ClientCommandManager.h
ClientNetPackVisitors.h
CMakeLists.txt Fix possible memory corruption in video player 2024-12-07 15:37:03 +00:00
CMT.h
ConditionalWait.h
CPlayerInterface.cpp Merge branch 'develop' into timed_events_objects_removal 2024-12-03 17:27:24 +01:00
CPlayerInterface.h
CServerHandler.cpp
CServerHandler.h
GameChatHandler.cpp fixme & seconds in time (more usual) 2024-12-01 19:00:24 +01:00
GameChatHandler.h
HeroMovementController.cpp
HeroMovementController.h
LobbyClientNetPackVisitors.h
NetPacksClient.cpp
NetPacksLobbyClient.cpp
PlayerLocalState.cpp Fix serialization of selected spellbook page 2024-11-27 20:50:12 +00:00
PlayerLocalState.h
resource.h
ServerRunner.cpp
ServerRunner.h
StdInc.cpp
StdInc.h