Issue 2556: Crash in the plugin process with the XStandard plug-in.
http://code.google.com/p/chromium/issues/detail?id=2556

Comment #2 by [EMAIL PROTECTED]:
Log:
This fixes the following bugs:-
1.http://code.google.com/p/chromium/issues/detail?id=292
  This was a painting issue in the XStandard plugin. The bug
  occurs in a windowed instance of the plugin. We handle
  window repositions in the plugin process until the window
  becomes visible. We set the SWP_NOREDRAW flag in the
  SetWindowPos call. This turns off client/non-client
  paints. After the SetWindowPos call we invalidate the
  client area. The plugin only receives WM_PAINT as a
  result. The plugin relies on the WM_NCPAINT message
  being received as well. In any case the SWP_NOREDRAW flag
  does not buy us much as we invalidate immediately after.
  The fix is to take out this flag.

2.http://code.google.com/p/chromium/issues/detail?id=2556
  The plugin invoked the NPN_GetValue function to retreive
  the window script object. This call fails in this case
  probably because the plugin instance in the renderer
  process is in the process of shutting down. We return a
  failure from the call.
  The plugin fails to check the return code and ends up
  invoking NPN_GetProperty on a NULL NPObject which causes a
  crash in chrome when we try to create a proxy for the
  same.
  The fix is to add NULL NPObject checks in the
  NPObjectProxy members and return early.



Issue attribute updates:
        Status: Fixed

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

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/chromium-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to