Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coverityfix #835

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

inspurSDN
Copy link

Root cause:
CID38551 CHECKED_RETURN
CID37420 FORWARD_NULL
CID36421 UNCAUGHT_EXCEPT
CID38520 UNCAUGHT_EXCEPT
CID323404 UNCAUGHT_EXCEPT

Solution:
CID38551 add if block
CID37420 add null check
CID36421 add try block
CID38520 add try block
CID323404 add try block

inspurSDN and others added 2 commits December 7, 2022 11:37
what I did:  
    when del-set-sequence exist in consumer table, I keep the del event been execute even a set of the same key is already seen after the del.
why I did:
    in the old code, the del is setting an key without fv, so if a set with fv after, it will only execute a set, so the multimap m_toSync can not  seen the del event, sometimes the lost del may result errors if something is depending on the del event.
Root cause:
    CID38551	CHECKED_RETURN
    CID37420	FORWARD_NULL
    CID36421	UNCAUGHT_EXCEPT
    CID38520	UNCAUGHT_EXCEPT
    CID323404	UNCAUGHT_EXCEPT

Solution:
    CID38551 add if block
    CID37420 add null check
    CID36421 add try block
    CID38520  add try block
    CID323404  add try block
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.

1 participant