Fix out of bounds read in SkColorSpace::MakeICC
authorMatt Sarett <msarett@google.com>
Tue, 18 Apr 2017 15:08:29 +0000 (11:08 -0400)
committerMatt Sarett <msarett@google.com>
Fri, 21 Apr 2017 21:08:47 +0000 (21:08 +0000)
commite0e50cfe755fe5a28706b98a721b9ebbc1ee84d7
tree4cd216cc71d25acacfc929a6ff8a964e7af7dc60
parent6a4c239e9da587c612a002b7d600598a478d63e8
Fix out of bounds read in SkColorSpace::MakeICC

Bug: 711895
Change-Id: I8574289bda842cf1be3fb5bcf347a81b98fdc6b0
Reviewed-on: https://skia-review.googlesource.com/13690
Commit-Queue: Matt Sarett <msarett@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
(cherry picked from commit 6e834799946537370e6f3c10aa2745ed969b2a27)
Reviewed-on: https://skia-review.googlesource.com/14103
Reviewed-by: Matt Sarett <msarett@google.com>
src/core/SkColorSpace_ICC.cpp