Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FPathSpawn( rgsz )
- char *rgsz[];
- { /* puts the correct path at the beginning of rgsz[0]
- and calls FSpawnRgsz */
- char *rgsz0;
- strcpy(rgsz0, szToolsDir);
- strcat(rgsz0, "\\");
- strcat(rgsz0, rgsz[0]);
- return FSpawnRgsz(rgsz0, rgsz);
- }
- This suspicious code was found in Word11a project by PVS-Studio static code analyzer.
- Warning message is:
- V614 Uninitialized pointer 'rgsz0' used. Consider checking the first actual argument of the 'strcpy' function. makeopus.c 961
- PVS-Studio is a static analyzer for detecting bugs in the source code of applications written in C, C++, C++11, C++/CX. Site: http://www.viva64.com/en/pvs-studio/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement