RESOLVED INVALID70027
[Qt] Plugin asking for NPNVnetscapeWindow can crash webkit
https://bugs.webkit.org/show_bug.cgi?id=70027
Summary [Qt] Plugin asking for NPNVnetscapeWindow can crash webkit
Christophe Oosterlynck
Reported 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.
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
Christophe Oosterlynck
Comment 1 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
Jocelyn Turcotte
Comment 2 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.
Note You need to log in before you can comment on or make changes to this bug.