Skip to content
Closed
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
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,21 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [1.1.2](https://github.com/rdkcentral/advanced-security/compare/1.1.1...1.1.2)

- RDKB-61956, RDKB-62450 : Fix coverity issues [`#32`](https://github.com/rdkcentral/advanced-security/pull/32)
- Update CODEOWNERS [`#31`](https://github.com/rdkcentral/advanced-security/pull/31)
- Deploy fossid_integration_stateless_diffscan_target_repo action [`#30`](https://github.com/rdkcentral/advanced-security/pull/30)
- Deploy cla action [`#29`](https://github.com/rdkcentral/advanced-security/pull/29)

#### [1.1.1](https://github.com/rdkcentral/advanced-security/compare/1.1.0...1.1.1)

> 25 September 2025

- RDKBACCL-907: [TDK][AUTO][BPI] CcspAdvSecurity process is not running and Advanced ParentalControland Enable and other parameters are missing [`#20`](https://github.com/rdkcentral/advanced-security/pull/20)
- Merge pull request #25 from rdkcentral/develop [`#26`](https://github.com/rdkcentral/advanced-security/pull/26)
- RDKB-61523: Merge tag '1.1.0' into develop [`#25`](https://github.com/rdkcentral/advanced-security/pull/25)
- Add CHANGELOG.md for Release 1.1.1 [`56df3d0`](https://github.com/rdkcentral/advanced-security/commit/56df3d05645abe33a4570cdf4d37b436d0abf3e8)

#### [1.1.0](https://github.com/rdkcentral/advanced-security/compare/1.0.1...1.1.0)

Expand Down
19 changes: 13 additions & 6 deletions source/AdvSecurityDml/cosa_adv_security_dml.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#define MAX_RABID_DNSCACHE_SIZE 32768

extern COSA_DATAMODEL_AGENT* g_pAdvSecAgent;
extern pthread_mutex_t logMutex;

#ifdef WIFI_DATA_COLLECTION
static char *g_AdvWifiDataCollection = "Adv_WifiDataCollectionRFCEnable";
Expand Down Expand Up @@ -266,7 +267,9 @@ DeviceFingerPrint_GetParamUlongValue
ERR_CHK(rc);
if((rc == EOK) && (!ind))
{
pthread_mutex_lock(&logMutex);
*puLong = g_pAdvSecAgent->ulLoggingPeriod;
pthread_mutex_unlock(&logMutex);
return TRUE;
}

Expand Down Expand Up @@ -344,15 +347,19 @@ DeviceFingerPrint_SetParamUlongValue
return FALSE;
}

if(bValue == g_pAdvSecAgent->ulLoggingPeriod)
return TRUE;
pthread_mutex_lock(&logMutex);
if(bValue == g_pAdvSecAgent->ulLoggingPeriod) {
pthread_mutex_unlock(&logMutex);
return TRUE;
}
pthread_mutex_unlock(&logMutex);

returnStatus = CosaAdvSecSetLoggingPeriod(bValue);

if ( returnStatus != ANSC_STATUS_SUCCESS )
{
CcspTraceInfo(("%s EXIT Error\n", __FUNCTION__));
return returnStatus;
return FALSE;
}

return TRUE;
Expand All @@ -377,7 +384,7 @@ DeviceFingerPrint_SetParamUlongValue
if ( returnStatus != ANSC_STATUS_SUCCESS )
{
CcspTraceInfo(("%s EXIT Error\n", __FUNCTION__));
return returnStatus;
return FALSE;
}

return TRUE;
Expand Down Expand Up @@ -524,7 +531,7 @@ DeviceFingerPrint_SetParamStringValue
if ( returnStatus != ANSC_STATUS_SUCCESS )
{
CcspTraceInfo(("%s EXIT Error\n", __FUNCTION__));
return returnStatus;
return FALSE;
}
return TRUE;
}
Expand Down Expand Up @@ -967,7 +974,7 @@ SafeBrowsing_GetParamUlongValue
if ( returnStatus != ANSC_STATUS_SUCCESS )
{
CcspTraceError(("%s EXIT Error\n", __FUNCTION__));
return returnStatus;
return FALSE;
}

return TRUE;
Expand Down
Loading