Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static ACE_FILE_IO *audio_to_text (ACE_FILE_Addr &,
- ACE_FILE_Addr &dest)
- {
- ACE_FILE_Connector connector;
- ACE_FILE_IO *file = 0;
- if (connector.connect (*file, dest) == -1)
- ....
- }
- This suspicious code was found in OpenDDS project by PVS-Studio static code analyzer.
- Warning message is:
- V522 Dereferencing of the null pointer 'file' might take place. util.h 24
- 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