Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct ConvoluteFilterData {
- long m[9];
- long bias;
- void *dyna_func;
- DWORD dyna_size;
- DWORD dyna_old_protect;
- BOOL fClip;
- };
- static unsigned long __fastcall do_conv(
- unsigned long *data,
- const ConvoluteFilterData *cfd,
- long sflags, long pit)
- {
- long rt0=cfd->m[9], gt0=cfd->m[9], bt0=cfd->m[9];
- ...
- }
- This suspicious code was found in Virtualdub project by PVS-Studio static code analyzer.
- Warning message is:
- V557 Array overrun is possible. The '9' index is pointing beyond array bound. VirtualDub f_convolute.cpp 73
- 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