Bug 19083

Summary: RenderText::trimmedPrefWidths potentially does not initialize all parameters
Product: WebKit Reporter: Ariya Hidayat <ariya.hidayat>
Component: Layout and RenderingAssignee: Ariya Hidayat <ariya.hidayat>
Status: RESOLVED DUPLICATE    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: All   

Ariya Hidayat
Reported 2008-05-15 12:10:18 PDT
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
Ariya Hidayat
Comment 1 2008-05-15 12:14:53 PDT
*** This bug has been marked as a duplicate of 13864 ***
Note You need to log in before you can comment on or make changes to this bug.