Skip to content

Commit 5717c7c

Browse files
authored
Merge pull request rdkcentral#5917 from yuvaramachandran-gurusamy/main/RDKTV-34608_MiracastCrash
RDKTV-34608: Fix for SIG-ILL crash due to missing unregister call for power event
2 parents 966a564 + 49b6073 commit 5717c7c

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Miracast/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ All notable changes to this RDK Service will be documented in this file.
1313
Changes in CHANGELOG should be updated when commits are added to the main or release branches. There should be one CHANGELOG entry per JIRA Ticket. This is not enforced on sprint branches since there could be multiple changes for the same JIRA ticket during development.
1414

1515
For more details, refer to versioning section under Main README.
16+
## [1.0.11] - 2024-12-05
17+
### Fixed
18+
- Fixed the SIGILL crash while failed to unregister the Power Event.
19+
1620
## [1.0.10] - 2024-08-27
1721
### Fixed
1822
- Increase scan interval to 5 sec and added RFC support.

Miracast/MiracastService/MiracastService.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ using namespace std;
6060

6161
#define API_VERSION_NUMBER_MAJOR 1
6262
#define API_VERSION_NUMBER_MINOR 0
63-
#define API_VERSION_NUMBER_PATCH 10
63+
#define API_VERSION_NUMBER_PATCH 11
6464

6565
#define SERVER_DETAILS "127.0.0.1:9998"
6666
#define SYSTEM_CALLSIGN "org.rdk.System"
@@ -276,12 +276,11 @@ namespace WPEFramework
276276
if (!m_isServiceInitialized)
277277
{
278278
MiracastError ret_code = MIRACAST_OK;
279-
280-
InitializeIARM();
281279

282280
m_miracast_ctrler_obj = MiracastController::getInstance(ret_code, this,p2p_ctrl_iface);
283281
if (nullptr != m_miracast_ctrler_obj)
284282
{
283+
InitializeIARM();
285284
m_CurrentService = service;
286285
getThunderPlugins();
287286
// subscribe for event

0 commit comments

Comments
 (0)