-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* operatorEqToSelf Id: operatorEqToSelf CWE: 398 'operator=' should check for assignment to self to ensure that each block of dynamically allocated memory is owned and managed by only one instance of the class. * containerOutOfBounds Id: containerOutOfBounds CWE: 398 Out of bounds access in expression 'slotStatus[i]' because 'slotStatus' is empty. * containerOutOfBounds Id: containerOutOfBounds CWE: 398 Either the condition 'itr->second<=s_GameOptions.size()' is redundant or 'itr->second' can have the value s_GameOptions.size(). Expression 's_GameOptions[itr->second]' causes access out of bounds. Id: containerOutOfBounds CWE: 398 Assuming that condition 'itr->second<=s_GameOptions.size()' is not redundant * containerOutOfBounds Id: containerOutOfBounds CWE: 398 Out of bounds access in expression 'aNumEnemies.begin()' because 'aNumEnemies' is empty. Id: containerOutOfBounds CWE: 398 Out of bounds access in expression 'aNumFriendlies.rbegin()' because 'aNumFriendlies' is empty.
- Loading branch information
1 parent
8ce49c8
commit 0402069
Showing
3 changed files
with
40 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters