Bug 70027 - [Qt] Plugin asking for NPNVnetscapeWindow can crash webkit
Summary: [Qt] Plugin asking for NPNVnetscapeWindow can crash webkit
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-13 08:15 PDT by Christophe Oosterlynck
Modified: 2014-02-03 03:19 PST (History)
0 users

See Also:


Attachments
PluginView::platformGetValue() won't dereference null pointer when plugin asks for NPNVnetscapeWindow and no graphicsview is present (755 bytes, patch)
2011-10-13 08:17 PDT, Christophe Oosterlynck
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe Oosterlynck 2011-10-13 08:15:52 PDT
When using a QGraphicsWebview in a scene that is not viewed by any graphicsview, webkit will crash when the plugin asks for NPNVnetscapeWindow. If there is no graphicsview (client->ownerWidget() returns 0, see patch), asking for NPNVnetscapeWindow should return 0.
Comment 1 Christophe Oosterlynck 2011-10-13 08:17:05 PDT
Created attachment 110846 [details]
PluginView::platformGetValue() won't dereference null pointer when plugin asks for NPNVnetscapeWindow and no graphicsview is present
Comment 2 Jocelyn Turcotte 2014-02-03 03:19:02 PST
=== Bulk closing of Qt bugs ===

If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary.

If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.