Bug 39811 - WebPluginListBuilderImpl::addMediaTypeToLastPlugin does not initialize pluginIndex
Summary: WebPluginListBuilderImpl::addMediaTypeToLastPlugin does not initialize plugin...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-26 23:27 PDT by Roland Steiner
Modified: 2010-05-27 22:00 PDT (History)
1 user (show)

See Also:


Attachments
patch: initialize pluginIndex field, use .at() instead of [] for indexing mimes (2.46 KB, patch)
2010-05-26 23:42 PDT, Roland Steiner
no flags Details | Formatted Diff | Diff
patch - quick fix: fix crashing part only (1.33 KB, patch)
2010-05-27 00:20 PDT, Roland Steiner
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Roland Steiner 2010-05-26 23:27:08 PDT
The function WebPluginListBuilderImpl::addMediaTypeToLastPlugin() in WebKit/chromium/src does not initialize the pluginIndex field of the MimeClassInfo struct.

Quick fix coming shortly.

(CC-ing last editor according to 'git blame')
Comment 1 Roland Steiner 2010-05-26 23:42:01 PDT
Created attachment 57201 [details]
patch: initialize pluginIndex field, use .at() instead of [] for indexing mimes
Comment 2 Roland Steiner 2010-05-27 00:20:45 PDT
Created attachment 57206 [details]
patch - quick fix: fix crashing part only

Patch landed unreviewed to fix the crashing issue.

TBR=andersca@apple.com