WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 13864
Bug 19083
RenderText::trimmedPrefWidths potentially does not initialize all parameters
https://bugs.webkit.org/show_bug.cgi?id=19083
Summary
RenderText::trimmedPrefWidths potentially does not initialize all parameters
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
Add attachment
proposed patch, testcase, etc.
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.
Top of Page
Format For Printing
XML
Clone This Bug