Bug 22926 - Uninitialized memory in Settings.cc m_textDirectionSubmenuInclusionBehavior
Summary: Uninitialized memory in Settings.cc m_textDirectionSubmenuInclusionBehavior
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Pam Greene (IRC:pamg)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-18 16:47 PST by Pam Greene (IRC:pamg)
Modified: 2008-12-18 17:50 PST (History)
0 users

See Also:


Attachments
Add initializer to ctor (1020 bytes, patch)
2008-12-18 16:51 PST, Pam Greene (IRC:pamg)
mitz: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pam Greene (IRC:pamg) 2008-12-18 16:47:53 PST
The new(ish) m_textDirectionSubmenuInclusionBehavior member of Settings isn't initialized.  This shows up when running editing/selection/5354455-1.html.

(It was caught in Chromium running under Purify, as it happens, but that's not pertinent here.)
Comment 1 Pam Greene (IRC:pamg) 2008-12-18 16:51:42 PST
Created attachment 26133 [details]
Add initializer to ctor

I wasn't certain which of the three choices to initialize this to. Please verify my guess.
Comment 2 Pam Greene (IRC:pamg) 2008-12-18 17:50:00 PST
Landed in r39387.