Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Ipp32s GetUSCCodecParamsByFormat(
- LoadedCodec *codec, Ipp32s lQuery,FILE *f_log)
- {
- ....
- vm_dir *pDirEntry;
- ....
- if(codec->pSOHandle==NULL) {
- ....
- st = vm_dir_open(&pDirEntry,SO_FILE_MASK);
- ....
- }
- ....
- vm_dir_close(pDirEntry);
- return -1;
- }
- This suspicious code was found in IPP Samples project by PVS-Studio static code analyzer.
- Warning message is:
- V614 Potentially uninitialized pointer 'pDirEntry' used. Consider checking the first actual argument of the 'vm_dir_close' function. loadcodec.c 287
- 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