image_data->GetCanvas() may fail
Reported by
leanderz...@gmail.com,
Jan 18 2017
|
|
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36 Steps to reproduce the problem: 1. This is a bug identified by static analysis 2. 3. What is the expected behavior? What went wrong? In the function "PepperPluginInstanceImpl::CreateImage" and line: SKCanvas* canvas = image_data->GetCanvas(). GetCanvas() can fail because GetCanvas calls CreatePlatfromCanvas(), which may fail due to out-of-memory or something more opaque, like GDI or cairo reported a failure. Can you can a branch to handle this case? Thanks. Did this work before? N/A Does this work in other browsers? N/A Chrome version: 55.0.2883.95 Channel: stable OS Version: OS X 10.12.2 Flash Version: Shockwave Flash 24.0 r0 |
|
►
Sign in to add a comment |
|
Comment 1 by rbyers@chromium.org
, Jan 19 2017Components: Internals>Plugins>Pepper
Status: WontFix (was: Unconfirmed)