diff options
author | Tom Sepez <tsepez@chromium.org> | 2017-04-06 17:35:11 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-04-07 16:02:27 +0000 |
commit | 1e8c39f18df6e597e079cce13d18d72631ef0fb9 (patch) | |
tree | 15e423b4cc83d4b215a5d7424a7121832221b1a8 /third_party/libopenjpeg20/opj_clock.c | |
parent | 03c5e1725be9f581ae80d839fd848d57b9bfa164 (diff) | |
download | pdfium-1e8c39f18df6e597e079cce13d18d72631ef0fb9.tar.xz |
Remove the "old way" of performing FlateUncompress.
Repeated looping over Realloc() with a linearly increasing buffer
size is going to be O(N^2) which is why it was limited to small
cases. But it's wrong to do it anyways, and it kicks out a
lurking issue in PartitionAlloc as it turns out.
See https://crbug.com/709271, but this doesn't actually fix that
issue, it just avoids it.
Change-Id: I39d8f8df0d5fc358b7b9caa15c507a8f57e45004
Reviewed-on: https://pdfium-review.googlesource.com/3910
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'third_party/libopenjpeg20/opj_clock.c')
0 files changed, 0 insertions, 0 deletions