[Webkit-unassigned] [Bug 107404] Fix a race condition on SkBitmap::lockPixels()/unlockPixels() for lazy image decoding

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 22 10:51:39 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=107404





--- Comment #10 from Min Qin <qinmin at chromium.org>  2013-01-22 10:53:31 PST ---
(From update of attachment 184014)
View in context: https://bugs.webkit.org/attachment.cgi?id=184014&action=review

>> Source/WebCore/platform/graphics/chromium/ImageDecodingStore.cpp:143
>> +    image->bitmap().lockPixels();
> 
> image is NULL at this point. So this should be cachedImage->bitmap().lockPixels().

ah...Didn't notice that CreateAndUse() will take the OwnPtr away. Fixed.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list