Bug 39811

Summary: WebPluginListBuilderImpl::addMediaTypeToLastPlugin does not initialize pluginIndex
Product: WebKit Reporter: Roland Steiner <rolandsteiner>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
patch: initialize pluginIndex field, use .at() instead of [] for indexing mimes
none
patch - quick fix: fix crashing part only none

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