Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Miracast/MiracastService/MiracastController.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* If not stated otherwise in this file or this component's Licenses.txt file the

Check failure on line 2 in Miracast/MiracastService/MiracastController.cpp

View workflow job for this annotation

GitHub Actions / call-fossid-workflow / Fossid Annotate PR

FossID License Issue Detected

Source code with 'Apache-2.0' license found in local file 'Miracast/MiracastService/MiracastController.cpp' (Match: rdkcentral/rdkservices/6.1.7, 1610 lines, url: https://github.com/rdkcentral/rdkservices/archive/refs/tags/AML_BSP_REL_VERSION_RDK6.1.7.tar.gz, file: Miracast/MiracastService/MiracastController.cpp)
* following copyright and licenses apply:
*
* Copyright 2023 RDK Management
Expand Down Expand Up @@ -952,7 +952,7 @@
authType = "pbc",
deviceType = "unknown",
result = "";
m_groupInfo = new GroupInfo;
m_groupInfo = new GroupInfo();
size_t found = event_buffer.find("client");
size_t found_space = event_buffer.find(" ");

Expand Down Expand Up @@ -1004,7 +1004,6 @@
std::string default_gw_ip = "";

// STB is a client in the p2p group
m_groupInfo->isGO = false;
m_groupInfo->localIPAddr = start_DHCPClient(m_groupInfo->interface, default_gw_ip);
if (m_groupInfo->localIPAddr.empty())
{
Expand Down
12 changes: 12 additions & 0 deletions Miracast/common/MiracastCommon.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* If not stated otherwise in this file or this component's Licenses.txt file the

Check failure on line 2 in Miracast/common/MiracastCommon.h

View workflow job for this annotation

GitHub Actions / call-fossid-workflow / Fossid Annotate PR

FossID License Issue Detected

Source code with 'Apache-2.0' license found in local file 'Miracast/common/MiracastCommon.h' (Match: rdkcentral/rdkservices/6.1.7, 244 lines, url: https://github.com/rdkcentral/rdkservices/archive/refs/tags/AML_BSP_REL_VERSION_RDK6.1.7.tar.gz, file: Miracast/common/MiracastCommon.h)
* following copyright and licenses apply:
*
* Copyright 2023 RDK Management
Expand Down Expand Up @@ -125,6 +125,18 @@
std::string ipMask;
std::string srcDevIPAddr;
std::string localIPAddr;

// Constructor to ensure proper initialization
group_info()
: interface("")
, isGO(false)
, SSID("")
, goDevAddr("")
, ipAddr("")
, ipMask("")
, srcDevIPAddr("")
, localIPAddr("")
{}
} GroupInfo;

typedef enum msg_type_e
Expand Down
Loading