mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 05:15:45 +00:00
Bug 192445 Plugin shell passes garbage to victimizable plugins (0x1 as pointer for extension)
r=peterlubczynski sr=dbaron
This commit is contained in:
parent
a343d9575e
commit
2cb0e10110
@ -103,7 +103,8 @@ NPError NP_LOADDS NPP_New(NPMIMEType pluginType,
|
||||
if(buf != NULL)
|
||||
{
|
||||
buf = strrchr(buf, '.');
|
||||
szFileExtension = ++buf;
|
||||
if(buf)
|
||||
szFileExtension = ++buf;
|
||||
}
|
||||
|
||||
CPlugin * pPlugin = new CPlugin(hInst,
|
||||
|
Loading…
Reference in New Issue
Block a user