PREfast detects defects such as uninitialized memory, NULL pointer dereference, memory and resource leaks, and so on.
The following warnings are reported in this category:
| Warning number | Description |
|---|---|
| PREfast Warning 1 | Uninitialized memory <variable>. |
| PREfast Warning 11 | Dereferenced NULL pointer <pointer>. |
| PREfast Warning 14 | Memory leak at <pointer>. |
| PREfast Warning 53 | <function> call may not zero-terminate string <variable>. |
| PREfast Warning 59 | Misuse of length parameter in call to <function>. |
| PREfast Warning 211 | Memory <pointer> leaks due to an exception. |
| PREfast Warning 305 | Potential mismatch between sizeof and countof quantities. |
| PREfast Warning 98102 | Error processing file. |
See Also
Send Feedback on this topic to the authors