From 665949a3ecf1fbe188a8387aa9a3db99432f82ec Mon Sep 17 00:00:00 2001 From: Leon Scroggins III Date: Tue, 26 Jun 2018 10:49:42 -0400 Subject: Update libjpeg-turbo to pre-2.0.0 (from 1.5.3) jpeg_skip_scanlines was incorrectly incrementing an internal counter, resulting in an infinite loop. (This only occurs for certain types of progressive images, using certain sample sizes.) The fix is at https://github.com/libjpeg-turbo/libjpeg-turbo/commit/26f109290dc4ffc9c522d9f5d5a7d5d1ee2c0e0a. This is included in tip-of-tree, which is unofficially 2.0.0, so go ahead and update to it. Add a test based on the original bug. Bug: b/78329453 Change-Id: I5ade9924812324d58668c26f71cd622ef93f40a7 Reviewed-on: https://skia-review.googlesource.com/129459 Commit-Queue: Leon Scroggins Reviewed-by: Mike Klein --- resources/images/b78329453.jpeg | Bin 0 -> 46457 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 resources/images/b78329453.jpeg (limited to 'resources') diff --git a/resources/images/b78329453.jpeg b/resources/images/b78329453.jpeg new file mode 100644 index 0000000000..b962b9eedd Binary files /dev/null and b/resources/images/b78329453.jpeg differ -- cgit v1.2.3