Bug 11471 - uninitialized member being tested before set
Summary: uninitialized member being tested before set
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Frames (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: David Carson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-31 11:42 PST by David Carson
Modified: 2006-11-02 19:14 PST (History)
0 users

See Also:


Attachments
patch to init value to false (956 bytes, patch)
2006-10-31 11:46 PST, David Carson
ggaren: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Carson 2006-10-31 11:42:24 PST
In Frame.cpp, the variable m_beganSelectingText (defined in FramePrivate.h) is sometimes being tested in handleMouseReleaseEvent() before it has been initialized to any value.
Comment 1 David Carson 2006-10-31 11:46:05 PST
Created attachment 11308 [details]
patch to init value to false
Comment 2 Geoffrey Garen 2006-10-31 13:32:13 PST
Comment on attachment 11308 [details]
patch to init value to false

r=me
Comment 3 mitz 2006-10-31 13:48:11 PST
Please fix the first line of the ChangeLog when committing.
Comment 4 Anders Carlsson 2006-11-02 19:14:20 PST
Committed revision 17550