summaryrefslogtreecommitdiff
path: root/fxjs/xfa/cjx_object.h
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2018-02-14 18:57:20 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-02-14 18:57:20 +0000
commita9eabe43437871b7b5f5569f0e3e1b9b3e01cedf (patch)
treebad10c9b0fe186e138bac671ada813c6d1ac7a27 /fxjs/xfa/cjx_object.h
parent785d126bd57abebc208a3e971ba26cc29bef59ce (diff)
downloadpdfium-a9eabe43437871b7b5f5569f0e3e1b9b3e01cedf.tar.xz
Check that the request was satisfied in ReadData
Currently the BMP decompressor doesn't verify the returned data length was the amount requested. This means we may end up with part of our structure uninitialized if we didn't copy in enough data. This CL verifies the length of data copied is the size we require. BUG=chromium:811853 Change-Id: I20e0e9b3ff1176a620fcb38c3c7e585848b7e428 Reviewed-on: https://pdfium-review.googlesource.com/26850 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fxjs/xfa/cjx_object.h')
0 files changed, 0 insertions, 0 deletions