angler-fishThe Vulnerability History Project

Fix up rowbytes vs. width desynchronization, and fix failure to initialize entire bitmap memory. To fix up the rowbytes value properly, we simply don't send it via IPC any more, and recalulate it from width and depth in the trusted code. It's a cheap calculation.

      Also one bonus fix: don't use an unintialized IconInfo if deserialization fails.

BUG=31307
TEST=Manual; ran with breakpoints on the failure paths.

Review URL: http://codereview.chromium.org/517023

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35371 0039d316-1c4b-4281-b951-d872f2087c98
    
commit d3d98bc21e6fe0ea6aa0186194347a1f5e4d7be8
+8 -6
expand_less