We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a1c95b commit 4968532Copy full SHA for 4968532
docs/code-quality/c28159.md
@@ -30,10 +30,7 @@ The following code example generates this warning. This issue is due to the use
30
31
```cpp
32
char buff[MAX_PATH];
33
-// if strlen(input) > MAX_PATH
34
-// leads to buffer overrun
35
-// if strlen(input) > MAX_PATH, this call leads to buffer overrun
36
-OemToChar(buff, input);
+OemToChar(buff, input); // If strlen(input) > MAX_PATH, this call leads to buffer overrun
37
```
38
39
The following code example avoids this warning:
0 commit comments