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 Merge remote-tracking branch 'upstream/develop' into adv_search 2024-10-14 19:52:55 +02:00
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 Added GameSettings to gamestate, potentially allowing to define game 2024-09-05 15:16:27 +00:00
CGameInfo.h Added GameSettings to gamestate, potentially allowing to define game 2024-09-05 15:16:27 +00:00
Client.cpp Replace more usages of pointers to packs with references 2024-10-07 14:59:14 +00:00
Client.h Fix some of the new warnings from sonarcloud 2024-10-11 10:45:29 +00:00
ClientCommandManager.cpp More robust management of body/shadow/overlay split 2024-11-17 17:54:55 +00:00
ClientCommandManager.h Added 'translate missing' command for convenience 2024-10-26 12:54:35 +00:00
ClientNetPackVisitors.h rename; introduce factor 2024-09-28 15:05:13 +02:00
CMakeLists.txt Fix possible memory corruption in video player 2024-12-07 15:37:03 +00:00
CMT.h address code review comments 2024-08-31 18:14:05 +03:00
ConditionalWait.h
CPlayerInterface.cpp Merge branch 'develop' into timed_events_objects_removal 2024-12-03 17:27:24 +01:00
CPlayerInterface.h Change deleted objects format to use ObjectInstanceID 2024-09-28 22:58:05 +02:00
CServerHandler.cpp Merge pull request #4736 from Laserlicht/fix_8th_portal_summoning 2024-10-07 22:19:17 +03:00
CServerHandler.h Reduced usage of CPack, replaced with CPackForServer where applicable 2024-10-07 14:59:14 +00:00
GameChatHandler.cpp fixme & seconds in time (more usual) 2024-12-01 19:00:24 +01:00
GameChatHandler.h
HeroMovementController.cpp TerrainTile now uses identifiers instead of pointers to VLC 2024-10-30 16:22:11 +00:00
HeroMovementController.h
LobbyClientNetPackVisitors.h
NetPacksClient.cpp Split CHeroHandler.cpp/.h into 1 file per class 2024-10-13 14:01:09 +00:00
NetPacksLobbyClient.cpp refresh list 2024-11-01 00:52:19 +01:00
PlayerLocalState.cpp Fix serialization of selected spellbook page 2024-11-27 20:50:12 +00:00
PlayerLocalState.h Fix some of the new warnings from sonarcloud 2024-10-11 10:45:29 +00:00
resource.h
ServerRunner.cpp Fix compilation with boost 1.86 2024-09-09 16:59:01 +00:00
ServerRunner.h Fix compilation with boost 1.86 2024-09-09 16:59:01 +00:00
StdInc.cpp
StdInc.h