RDKCOM-5522: RDKBDEV-3369 Fix TR069 repeat M Reboot in ACS reboot long run#13
RDKCOM-5522: RDKBDEV-3369 Fix TR069 repeat M Reboot in ACS reboot long run#13owen-lu-sercomm wants to merge 4 commits intordkcentral:developfrom
Conversation
Reason for change: Sometimes TR069 sends repeat M Reboot in ACS reboot longrun Test Procedure: 1. connect to acs 2. do reboot when ACS receive "1 Boot + M Reboot" 3. check CPE send inform with only one M Reboot + 1 Boot Risks: Low Signed-off-by: Owen Lu <owen_lu@sercomm.com>
dfb36cd to
7cf1012
Compare
| if((rc == EOK) && (!ind)) | ||
| { | ||
| if((!pCcspCwmpEvent->CommandKey && !pCcspCwmpEventExist->CommandKey)) | ||
| if((!pCcspCwmpEvent->CommandKey && !pCcspCwmpEventExist->CommandKey) || |
There was a problem hiding this comment.
Coverity issue no longer present as of: undefined
Show issue
Coverity Issue - Dereference after null check
Passing null pointer "pCcspCwmpEvent->CommandKey" to "strlen", which dereferences it.
Medium Impact, CWE-476
FORWARD_NULL
|
Hi @owen-lu-sercomm Coverity Issue - Dereference after null check Medium Impact, CWE-476 |
Reason for change: Fix the coverity issue in the commit for RDKBDEV-3369 Signed-off-by: Owen Lu <owen_lu@sercomm.com>
9fc463b
| if((rc == EOK) && (!ind)) | ||
| { | ||
| if((!pCcspCwmpEvent->CommandKey && !pCcspCwmpEventExist->CommandKey)) | ||
| if((!pCcspCwmpEvent->CommandKey && !pCcspCwmpEventExist->CommandKey) && |
There was a problem hiding this comment.
Coverity issue no longer present as of: undefined
Show issue
Coverity Issue - Dereference after null check
Passing null pointer "pCcspCwmpEventExist->CommandKey" to "strlen", which dereferences it.
Medium Impact, CWE-476
FORWARD_NULL
| if((rc == EOK) && (!ind)) | ||
| { | ||
| if((!pCcspCwmpEvent->CommandKey && !pCcspCwmpEventExist->CommandKey)) | ||
| if((!pCcspCwmpEvent->CommandKey && !pCcspCwmpEventExist->CommandKey) && |
There was a problem hiding this comment.
Coverity issue no longer present as of: undefined
Show issue
Coverity Issue - Dereference after null check
Passing null pointer "pCcspCwmpEvent->CommandKey" to "strlen", which dereferences it.
Medium Impact, CWE-476
FORWARD_NULL
There was a problem hiding this comment.
@owen-lu-sercomm Can you fix the merge conflict please?
Reason for change: Fix the coverity issue in the commit for RDKBDEV-3369 Signed-off-by: Owen Lu <owen_lu@sercomm.com>
Reason for change:
Sometimes TR069 sends repeat M Reboot in ACS reboot longrun
Test Procedure:
Risks: Low