Skip to content

Commit 7001057

Browse files
authored
third_party: update libjpeg-turbo to 2.0.0 (tensorflow#22198)
libjpeg-turbo-2.0.0 fixes CVE-2018-1152 and CVE-2018-11813 The build and source tree has been rearranged, the simd files are now in subdirs. Signed-off-by: Jason Zaman <[email protected]>
1 parent eed2180 commit 7001057

File tree

2 files changed

+201
-131
lines changed

2 files changed

+201
-131
lines changed

tensorflow/workspace.bzl

+4-4
Original file line numberDiff line numberDiff line change
@@ -240,11 +240,11 @@ def tf_workspace(path_prefix = "", tf_repo_name = ""):
240240
tf_http_archive(
241241
name = "jpeg",
242242
urls = [
243-
"https://mirror.bazel.build/github.com/libjpeg-turbo/libjpeg-turbo/archive/1.5.3.tar.gz",
244-
"https://github.com/libjpeg-turbo/libjpeg-turbo/archive/1.5.3.tar.gz",
243+
"https://mirror.bazel.build/github.com/libjpeg-turbo/libjpeg-turbo/archive/2.0.0.tar.gz",
244+
"https://github.com/libjpeg-turbo/libjpeg-turbo/archive/2.0.0.tar.gz",
245245
],
246-
sha256 = "1a17020f859cb12711175a67eab5c71fc1904e04b587046218e36106e07eabde",
247-
strip_prefix = "libjpeg-turbo-1.5.3",
246+
sha256 = "f892fff427ab3adffc289363eac26d197ce3ccacefe5f5822377348a8166069b",
247+
strip_prefix = "libjpeg-turbo-2.0.0",
248248
build_file = clean_dep("//third_party/jpeg:jpeg.BUILD"),
249249
system_build_file = clean_dep("//third_party/systemlibs:jpeg.BUILD"),
250250
)

0 commit comments

Comments
 (0)