Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(952)

Issue 100293002: Disable libjpeg turbo getenv() (Closed)

Created:
7 years ago by Xianzhu
Modified:
7 years ago
Base URL:
https://chromium.googlesource.com/chromium/deps/libjpeg_turbo.git@master
Visibility:
Public.

Description

Disable libjpeg turbo getenv() getenv() is used in libjpeg_turbo to get environment variable JPEGMEM which overrides the default max_memory setting from jpeg_mem_init. However, getenv() is not thread-safe. Now libjpeg may be called from multiple threads when impl-side-painting is enabled. BUG=322228 R=noel@chromium.org Committed: 8692fb5 Committed: 238232

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M libjpeg.gyp View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
Xianzhu
7 years ago (2013-12-02 22:00:18 UTC) #1
Alpha Left Google
On 2013/12/02 22:00:18, Xianzhu wrote: LGTM.
7 years ago (2013-12-02 22:33:06 UTC) #2
Noel Gordon
LGTM
7 years ago (2013-12-02 23:01:43 UTC) #3
Xianzhu
Committed patchset #1 manually as r8692fb5 (presubmit successful).
7 years ago (2013-12-02 23:06:33 UTC) #4
Noel Gordon
BTW, does third_party/libjpeg need a similar change?
7 years ago (2013-12-02 23:27:48 UTC) #5
Xianzhu
Committed patchset #2 manually as r238232 (presubmit successful).
7 years ago (2013-12-02 23:40:56 UTC) #6
Xianzhu
On 2013/12/02 23:27:48, Noel Gordon (Google) wrote: > BTW, does third_party/libjpeg need a similar change? ...
7 years ago (2013-12-02 23:42:46 UTC) #7
Noel Gordon
Yes, Android does not currently use libjpeg_turbo I believe.
7 years ago (2013-12-02 23:50:31 UTC) #8
Xianzhu
On 2013/12/02 23:50:31, Noel Gordon (Google) wrote: > Yes, Android does not currently use libjpeg_turbo ...
7 years ago (2013-12-03 00:00:11 UTC) #9
Noel Gordon
On 2013/12/03 00:00:11, Xianzhu wrote: > On 2013/12/02 23:50:31, Noel Gordon (Google) wrote: > > ...
7 years ago (2013-12-03 08:56:24 UTC) #10
Xianzhu
On 2013/12/03 08:56:24, Noel Gordon (Google) wrote: > On 2013/12/03 00:00:11, Xianzhu wrote: > > ...
7 years ago (2013-12-03 17:11:21 UTC) #11
Noel Gordon
7 years ago (2013-12-04 00:24:03 UTC) #12
Message was sent while issue was closed.
LGTM and makes sense, thanks.

Powered by Google App Engine
This is Rietveld 408576698