BladeSmithJohn / nixysa

Automatically exported from code.google.com/p/nixysa
Apache License 2.0
0 stars 0 forks source link

nixysa generates plugins which crash Mozilla/4 and Gecko when presented objects with embedded params #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Generate a plugin using nixysa
2. Load a web page which has embedded content for the plugin generated by 
nixysa in a 
Mozilla/4 or Mozilla/5 (Gecko) browser.

What is the expected output?
The plugin generated by nixysa should not generate a plugin which crashes when 
presented with 
an <object> that contains <param> tags when loaded in Netscape 4 or Mozilla or 
Firefox or any 
other Gecko

What do you see instead?
a crash

What version of the product are you using? On what operating system?
dunno, this is a return to sender of 
https://bugzilla.mozilla.org/show_bug.cgi?id=530609

Please provide any additional information below.

http://mxr.mozilla.org/mozilla-
central/source/modules/plugin/base/src/nsNPAPIPluginInstance.cpp?mark=1102-1106#
1088
1102 // nsPluginTagType_Object or Applet may also have PARAM tags
1103  // Note: The arrays handed back by GetParameters() are
1104  // crafted specially to be directly behind the arrays from GetAttributes()
1105  // with a null entry as a separator. This is for 4.x backwards 
compatibility!
1106  // see bug 111008 for details 

https://bugzilla.mozilla.org/show_bug.cgi?id=111008

Original issue reported on code.google.com by timel...@gmail.com on 25 Nov 2009 at 7:03