다음을 통해 공유


Buffer Overrun Warnings (Windows CE 5.0)

Send Feedback

PREfast detects some situations in which buffer overruns occur, including array bounds violations.

The following warnings are reported in this category:

Warning Description
PREfast Warning 29 Possible buffer overrun in call to <function>.
PREfast Warning 56 Call to <function> does not validate buffer size.
PREfast Warning 57 Buffer overrun due to number of characters/number of bytes mismatch in call to <function>.
PREfast Warning 201 Buffer overrun for stack buffer <variable>.
PREfast Warning 202 Buffer overrun for stack buffer <variable> in call to <function>.
PREfast Warning 203 Buffer overrun for buffer <variable> in call to <function>.
PREfast Warning 204 Possible buffer overrun in call to <function>.
PREfast Warning 205 Stack buffer overrun in <variable> in call to evil function <function>.
PREfast Warning 207 Buffer overrun in call to evil function <function>.
PREfast Warning 209 Using sizeof(<variable>) as parameter <number> in call to <function>, where <variable> is an array of wide characters.
PREfast Warning 292 Ill-defined for loop.
PREfast Warning 293 Ill-defined for loop.
PREfast Warning 294 Ill-defined for-loop.
PREfast Warning 295 Ill-defined for loop.
PREfast Warning 296 Ill-defined for loop.
PREfast Warning 311 Consider using <function1> instead of <function2>.

See Also

Warnings by Category

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.