diff options
author | Ryan Harrison <rharrison@chromium.org> | 2017-10-03 09:32:14 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-10-03 13:53:21 +0000 |
commit | 0feba6f9ef721e4927e37da68ac27572ffae1453 (patch) | |
tree | 9e5cfef2691bcd8e439bca9175c8197fbd946e33 /fpdfsdk/fpdf_dataavail.cpp | |
parent | c2ae41abd16aef062fee878160aa18457d2118a7 (diff) | |
download | pdfium-0feba6f9ef721e4927e37da68ac27572ffae1453.tar.xz |
Rewrite how GIF headers are read
Break up reading the signature and local screen descriptors into
seperate functions. Fix a bug in how matching in the signature
validation works. Move LSD value assignment to after sufficient data
has been confirmed. Convert LSB to MSB methods where they were just
wrong. Add unit tests for ReadData, SetInputBuffer, ReadSignature,
ReadLocalScreenDescriptor, and ReadHeader.
BUG=pdfium:913,chromium:770470
Change-Id: I1683b8aefc11300625b9be8087c6988549308a8f
Reviewed-on: https://pdfium-review.googlesource.com/15250
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdf_dataavail.cpp')
0 files changed, 0 insertions, 0 deletions