Skip to content

Commit 984afb0

Browse files
RDKCOM-5526: RDKBDEV-3373 Fix tr69_12 - Verify GetParameterAttributes using empty string for top return 9002 (#14)
Reason for change: CPE returns 9002 Fault response when ACS queries GetParameterAttributes with empty string for top of hierarchy, which violates TR-069 specification. When using empty string for top of hierarchy, it indicates the top of the name hierarchy. Test Procedure: 1. connect to acs 2. ACS sends GetParameterAttributes RPC with empty string ParameterNames (indicating top of hierarchy) 3. check if CPE returns GetParameterAttributesResponse 9002 error Risks: Low Signed-off-by: Owen Lu <owen_lu@sercomm.com>
1 parent efe21dc commit 984afb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source-embedded/CcspCwmpProcessor/ccsp_cwmp_proco_mpaif.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4200,9 +4200,9 @@ CcspCwmppoMpaGetParameterAttributes
42004200
{
42014201
if ( nCcspError != CCSP_SUCCESS )
42024202
{
4203-
CCSP_INT nCwmpError = CcspTr069PA_MapCcspErrCode(pCcspCwmpCpeController->hTr069PaMapper, nCcspError);
4203+
//CCSP_INT nCwmpError = CcspTr069PA_MapCcspErrCode(pCcspCwmpCpeController->hTr069PaMapper, nCcspError);
42044204

4205-
CCSP_CWMP_SET_SOAP_FAULT(pCwmpSoapFault, nCwmpError);
4205+
CCSP_CWMP_SET_SOAP_FAULT(pCwmpSoapFault, CCSP_CWMP_CPE_CWMP_FaultCode_resources);
42064206
}
42074207
else if ( returnStatus == ANSC_STATUS_RESOURCES )
42084208
{

0 commit comments

Comments
 (0)