Skip to content

RDKCOM-5493: RDKBDEV-3340 Fix sometimes TR069 crash when do tr069 fw upgrade longrun#69

Merged
snayak002c merged 2 commits intordkcentral:developfrom
owen-lu-sercomm:RDKBDEV-3340
Feb 2, 2026
Merged

RDKCOM-5493: RDKBDEV-3340 Fix sometimes TR069 crash when do tr069 fw upgrade longrun#69
snayak002c merged 2 commits intordkcentral:developfrom
owen-lu-sercomm:RDKBDEV-3340

Conversation

@owen-lu-sercomm
Copy link
Copy Markdown
Contributor

@owen-lu-sercomm owen-lu-sercomm commented Jan 15, 2026

Reason for change:
Sometimes CcspTr069PaSsp will crash when do tr069 firmware upgrade longrun, find that it was caused by CcspNsMgrDiscoverNamespace function, sometimes it will access an illegal pointer.
Test Procedure:

  1. Let CcspTR069PaSsp connect to acs server.
  2. Do TR069 Firmware Upgrade test (may need longrun to reproduce)
    Risks: Low

Signed-off-by: Owen Lu owen_lu@sercomm.com

Reason for change:
Sometimes CcspTr069PaSsp will crash when do tr069 firmware upgrade longrun, find that it was caused by CcspNsMgrDiscoverNamespace function, sometimes it will access an illegal pointer.
Test Procedure:
1. Let CcspTR069PaSsp connect to acs server.
2. Do TR069 Firmware Upgrade test (may need longrun to reproduce)
Risks: Low

Signed-off-by: Owen Lu <owen_lu@sercomm.com>
@owen-lu-sercomm owen-lu-sercomm requested review from a team as code owners January 15, 2026 07:51
@pradeeptakdas pradeeptakdas changed the title RDKBDEV-3340:Fix sometimes TR069 crash when do tr069 fw upgrade longrun RDKCOM-5493: RDKBDEV-3340 Fix sometimes TR069 crash when do tr069 fw upgrade longrun Jan 28, 2026
if( pNewSpace == NULL)
if( pNewSpace == NULL || pAtomNamespace == NULL )
{
return CCSP_CR_ERR_INVALID_PARAM;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverity Issue - Resource leak

Variable "pNewSpace" going out of scope leaks the storage it points to.

High Impact, CWE-404
RESOURCE_LEAK

@snayak002c snayak002c merged commit 0a8edfd into rdkcentral:develop Feb 2, 2026
4 of 6 checks passed
bunnam988 pushed a commit that referenced this pull request Feb 20, 2026
…upgrade longrun (#69)

Reason for change:
Sometimes CcspTr069PaSsp will crash when do tr069 firmware upgrade
longrun, find that it was caused by CcspNsMgrDiscoverNamespace function,
sometimes it will access an illegal pointer.
Test Procedure:
1. Let CcspTR069PaSsp connect to acs server.
2. Do TR069 Firmware Upgrade test (may need longrun to reproduce) 
Risks: Low

Signed-off-by: Owen Lu <owen_lu@sercomm.com>

Signed-off-by: Owen Lu <owen_lu@sercomm.com>
Co-authored-by: Santosh Nayak <70348540+snayak002c@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants