Updates:
        Status: WontFix
        Owner: [email protected]

Comment #6 on issue 13564 by [email protected]: NPAPI Chrome crash -  
STRINGZ_TO_NPVARIANT
http://code.google.com/p/chromium/issues/detail?id=13564

Please take a look at the spec at  
https://developer.mozilla.org/en/NPN_InvokeDefault

On return from this function the browser is supposed to use the
NPN_ReleaseVariantValue API to free the memory. If the plugin uses strdup  
it is going
to use the CRT allocator in the plugin dll, which the browser does not have  
access
to. So it is basically freeing invalid memory. I verified that Safari  
crashes too.

Firefox does not crash because they don't free if they did not allocate the  
memory,
which they did not in this case. However it basically means that the plugin  
is
leaking memory.

Marking this as wont fix.



--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to