 Chromium Code Reviews
 Chromium Code Reviews Issue 
            107003006:
    Fixing crash found by fuzzer  (Closed)
    
  
    Issue 
            107003006:
    Fixing crash found by fuzzer  (Closed) 
  | DescriptionFixing crash found by fuzzer
A previous fix only partially fixed this issue by adding validation on some inputs of SkImageInfo. If anything invalid is detected in SkImageInfo, unfortunately, this can cause getSafeSize() to do an illegal memory access while calling bytesPerPixel(), which could have a bad color type at this point.
A possible fix is to simply make sure we are in a valid state before calling getSafeSize().
BUG=329254
Committed: http://code.google.com/p/skia/source/detail?r=12844
   Patch Set 1 #
 Messages
    Total messages: 6 (0 generated)
     | |||||||||||||||||||