1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-22 22:13:35 +02:00
vcmi/client/windows
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
..
settings Fix handling of autoselected interface scaling by client 2024-10-09 17:37:54 +00:00
CCastleInterface.cpp fix window 2024-11-23 19:19:07 +01:00
CCastleInterface.h code review + text 2024-09-28 16:10:03 +02:00
CCreatureWindow.cpp text fixes 2024-11-30 00:41:09 +01:00
CCreatureWindow.h better approach for scrollbar 2024-11-02 15:16:38 +01:00
CExchangeWindow.cpp Full exchange when holding alt while pressing exchange screen creature arrow button 2024-12-03 20:40:06 +01:00
CExchangeWindow.h Full exchange when holding alt while pressing exchange screen creature arrow button 2024-12-03 20:40:06 +01:00
CHeroBackpackWindow.cpp QuickBackpack window position on shift+click slot fixed 2024-11-04 14:16:06 +02:00
CHeroBackpackWindow.h add sort buttons 2024-10-02 13:35:08 +03:00
CHeroOverview.cpp QuickBackpack window position on shift+click slot fixed 2024-11-04 14:16:06 +02:00
CHeroOverview.h QuickBackpack window position on shift+click slot fixed 2024-11-04 14:16:06 +02:00
CHeroWindow.cpp crash fix: dismiss hero when pick artifact 2024-11-26 01:11:09 +08:00
CHeroWindow.h CSecSkillPlace done 2024-10-23 15:01:56 +03:00
CKingdomInterface.cpp QuickBackpack window position on shift+click slot fixed 2024-11-04 14:16:06 +02:00
CKingdomInterface.h CWindowWithArtifacts remove std::variant 2024-05-20 15:15:46 +03:00
CMapOverview.cpp TerrainTile now uses identifiers instead of pointers to VLC 2024-10-30 16:22:11 +00:00
CMapOverview.h Fix miscellaneous issues discovered by Sonar 2024-08-12 18:26:30 +00:00
CMarketWindow.cpp QuickBackpack window position on shift+click slot fixed 2024-11-04 14:16:06 +02:00
CMarketWindow.h added CMarketWindow::getMarketTitle() 2024-08-24 13:52:54 +03:00
CMessage.cpp revert text fix 2024-12-02 22:36:49 +01:00
CMessage.h
CPuzzleWindow.cpp Fix miscellaneous issues discovered by Sonar 2024-08-12 18:26:30 +00:00
CPuzzleWindow.h
CQuestLog.cpp Replaced most of accesses to CGObjectInstance::pos with anchorPoint() 2024-10-09 15:43:46 +00:00
CQuestLog.h
CreaturePurchaseCard.cpp fix picture (regression) 2024-11-15 03:25:16 +01:00
CreaturePurchaseCard.h Fix typos using https://github.com/crate-ci/typos 2024-06-24 03:47:19 +02:00
CSpellWindow.cpp Fix possible memory corruption in video player 2024-12-07 15:37:03 +00:00
CSpellWindow.h Fix possible memory corruption in video player 2024-12-07 15:37:03 +00:00
CTutorialWindow.cpp Renamed & unified OBJECT_CONSTRUCTION macro set 2024-08-09 15:30:04 +00:00
CTutorialWindow.h Added VideoWidget to hide implementation details 2024-05-15 17:05:16 +00:00
CWindowObject.cpp fix xbrz shadow 2024-09-17 23:58:56 +02:00
CWindowObject.h Fix typos using https://github.com/crate-ci/typos 2024-06-24 03:47:19 +02:00
CWindowWithArtifacts.cpp Merge pull request #4870 from SoundSSGood/secSkillPlace-fix 2024-11-06 22:02:28 +02:00
CWindowWithArtifacts.h QuickBackpack window position on shift+click slot fixed 2024-11-04 14:16:06 +02:00
GUIClasses.cpp Fix possible memory corruption in video player 2024-12-07 15:37:03 +00:00
GUIClasses.h Fix possible memory corruption in video player 2024-12-07 15:37:03 +00:00
InfoWindows.cpp fix window 2024-11-23 19:19:07 +01:00
InfoWindows.h fix window 2024-11-23 19:19:07 +01:00
QuickRecruitmentWindow.cpp Reduce usage of pointers to VLC entities 2024-10-10 12:28:08 +00:00
QuickRecruitmentWindow.h