Created attachment 412561 [details] [diff] [review] patch downstream bug - https://bugzilla.redhat.com/show_bug.cgi?id=537519 Broken plug-in can pass NULL npp instance to _pushpopupsenabledstate()/_pushpopupsenabledstate()
Comment on attachment 412561 [details] [diff] [review] patch Worth taking on the stable branches?
Comment on attachment 412561 [details] [diff] [review] patch Approved for 184.108.40.206 and 220.127.116.11, a=dveditz for release-drivers
I'll check this in myself later this week, but anyone wants to get to it first :-)
Is there a way for QA to test or verify this fix, especially for 1.9.2?
the original bug seems to have been using plugin wrapper. i think it'd be easier to change a test plugin to call: NPN_pushpopupsenabledstate(NULL) it should either crash or not crash.
Created attachment 434194 [details] testcase A testcase. Build the plugin and copy it to plugin directory, restart browser and open bundled test.html page. Browser should not crash.