Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int CLUIFrameOnModulesLoad(WPARAM wParam,LPARAM lParam)
- {
- /* HOOK */
- CLUIFramesLoadMainMenu();
- CLUIFramesCreateMenuForFrame(
- -1,-1,000010000,MS_CLIST_ADDCONTEXTFRAMEMENUITEM);
- return 0;
- }
- I have considerable reasons to suspect that there should be the decimal number 10000 instead of octal number 000010000.
- This suspicious code was found in Miranda IM project by PVS-Studio static code analyzer.
- Warning message is:
- V536 Be advised that the utilized constant value is represented by an octal form. Oct: 000010000, Dec: 4096. clist_modern modern_cluiframes.cpp 4029
- 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