Update for feedback

This commit is contained in:
Felicity Chapman
2018-11-13 16:50:00 +00:00
parent 2e8f51a545
commit c6af79979c
8 changed files with 14 additions and 8 deletions

View File

@@ -1,6 +1,7 @@
/**
* @name Pointer offset used before it is checked
* @description Setting a pointer offset before checking if the value is positive
* @description Accessing a pointer or array using an offset before
* checking if the value is positive
* may result in unexpected behavior.
* @kind problem
* @id cpp/late-negative-test