diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-10-10 17:53:50 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-10 17:53:50 +0000 |
commit | 8d8d3bc54593d2d86054d59669b86a959ec0b602 (patch) | |
tree | 0d36d5bd9594d8cf85fb45e25dce9f189be91a0e /core/fxcodec/codec/ccodec_jpegmodule.cpp | |
parent | 65b8db9a76b4b303d97836037b24b19e797fcd86 (diff) | |
download | pdfium-8d8d3bc54593d2d86054d59669b86a959ec0b602.tar.xz |
Fix dangling reference in CFX_CodecMemory.
Do this by making CFX_CodecMemory actually own the memory that
it is ref-counting. Remove some test cases that are now prohibited,
and relax one lifetime restriction in the test because we are now
doing one additional copy (in the test, but not in real life).
Bug:879512
Change-Id: If030dfcf97fe40155c46a42288fc73192437ce9c
Reviewed-on: https://pdfium-review.googlesource.com/c/43670
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fxcodec/codec/ccodec_jpegmodule.cpp')
0 files changed, 0 insertions, 0 deletions