diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-04-06 17:40:45 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-04-06 17:40:45 +0000 |
commit | 2aa01f5ccbf1464b43527c1ffa6b42bafed9ebeb (patch) | |
tree | f4b29ace656a69dcfaef426b36d56b6fa27bde80 /third_party/libopenjpeg20/invert.c | |
parent | ace80b32dab5c6eaa32cc2f23c4540a5313879a1 (diff) | |
download | pdfium-2aa01f5ccbf1464b43527c1ffa6b42bafed9ebeb.tar.xz |
Avoid uninitialized internal fields in V8 global objects.
V8 won't do this for us when it creates a global object under the
covers off of a template with a non-zero internal field count, instead
just leaving it uninitialized. We were careful to set the iternal
fields on the object we explicitly create, but there are these
implicitly created ones as part of making a new context that need
to be handled as well.
BUG: pdfium:1005
Change-Id: Ic40bafc206ec5119cbceb58f0bb725693e7ddf80
Reviewed-on: https://pdfium-review.googlesource.com/29910
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'third_party/libopenjpeg20/invert.c')
0 files changed, 0 insertions, 0 deletions