DescriptionFix browser crash on startup.
> chrome.dll!`anonymous namespace'::OnNoMemory() Line 126 C++
chrome.dll!_invalid_parameter_noinfo() Line 99 + 0xc bytes C++
chrome.dll!RefCountedBytes::front() Line 67 + 0x1b bytes C++
chrome.dll!BookmarkModel::OnFavIconDataAvailable(int handle=8, bool know_favicon=true, scoped_refptr<RefCountedBytes> data={...}, bool expired=true, GURL icon_url={...}) Line 652 + 0x2b bytes C++
It seems RefCountedBytes data has no data. If data size is 0, accessing front
of data would cause crash.
By checking its size, fixes this crash.
BUG=25803
TEST=no crash on startup
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30171
Patch Set 1 #
Total comments: 1
Messages
Total messages: 5 (0 generated)
|