Summary: | [Chromium] Uninitialized access in SimpleFontDataSkia::platformInit() | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Kenichi Ishibashi <bashi> | ||||||
Component: | Platform | Assignee: | Kenichi Ishibashi <bashi> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | tkent, webkit.review.bot | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
URL: | http://crbug.com/76378 | ||||||||
Attachments: |
|
Description
Kenichi Ishibashi
2012-03-27 18:43:09 PDT
Created attachment 134194 [details]
Patch
Kent-san, could you take a look? Comment on attachment 134194 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=134194&action=review > Source/WebCore/ChangeLog:12 > + [Chromium] Uninitialized access in SimpleFontDataSkia::platformInit > + https://bugs.webkit.org/show_bug.cgi?id=82411 > + > + SimpleFontDataSkia::platformInit() could call widthForGlyph(), which > + accesses m_zeroWidthSpaceGlyph. This causes a valgrind memcheck error > + because m_zeroWidthSpaceGlyph isn't initialized at this point. > + Initialize m_zeroWidthSpaceGlyph with zero so that widthForGlyph() can > + return appropriate value(The value zero here means "unknown glyph"). > + > + Reviewed by NOBODY (OOPS!). Usual order is: <summary> <bug URL> Reviewd by ... <Detail> Created attachment 134200 [details]
Patch for landing
Comment on attachment 134194 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=134194&action=review Thanks! >> Source/WebCore/ChangeLog:12 >> + Reviewed by NOBODY (OOPS!). > > Usual order is: > > <summary> > <bug URL> > > Reviewd by ... > > <Detail> Done. Comment on attachment 134200 [details] Patch for landing Clearing flags on attachment: 134200 Committed r112357: <http://trac.webkit.org/changeset/112357> All reviewed patches have been landed. Closing bug. |