summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2017-04-06 17:35:11 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-04-07 16:02:27 +0000
commit1e8c39f18df6e597e079cce13d18d72631ef0fb9 (patch)
tree15e423b4cc83d4b215a5d7424a7121832221b1a8 /samples
parent03c5e1725be9f581ae80d839fd848d57b9bfa164 (diff)
downloadpdfium-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 'samples')
0 files changed, 0 insertions, 0 deletions