Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool ChromeFrameNPAPI::Invoke(....)
- {
- ChromeFrameNPAPI* plugin_instance =
- ChromeFrameInstanceFromNPObject(header);
- if (!plugin_instance &&
- (plugin_instance->automation_client_.get()))
- return false;
- ...
- }
- This suspicious code was found in Chromium project by PVS-Studio static code analyzer.
- Warning message is:
- V522 Dereferencing of the null pointer 'plugin_instance' might take place. Check the logical condition. chrome_frame_npapi chrome_frame_npapi.cc 517
- 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