Bug 19083
Summary: | RenderText::trimmedPrefWidths potentially does not initialize all parameters | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ariya Hidayat <ariya.hidayat> |
Component: | Layout and Rendering | Assignee: | Ariya Hidayat <ariya.hidayat> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | ||
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Other | ||
OS: | All |
Ariya Hidayat
In the function RenderText::trimmedPrefWidths(), some parameters are not initialized properly if the function returns prematurely, see the first 'return' there.
When this function is called from RenderBlock::calcInlinePrefWidths, the uninitialized variables (which are passed to trimmedPrefWidths) are then used for conditional.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Ariya Hidayat
*** This bug has been marked as a duplicate of 13864 ***