Bug 192445 Plugin shell passes garbage to victimizable plugins (0x1 as pointer for extension)

r=peterlubczynski sr=dbaron
This commit is contained in:
timeless%mozdev.org 2003-02-23 04:41:10 +00:00
parent a343d9575e
commit 2cb0e10110

View File

@ -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,