diff options
author | dsinclair <dsinclair@chromium.org> | 2016-08-02 12:36:07 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-02 12:36:07 -0700 |
commit | 0a7552ffa04bfb0c0523bd9c88e55e82842f53a8 (patch) | |
tree | 8616cd4ce984a28c97c292eca7a079e626faefbd /core/fpdfdoc/cpdf_apsettings.cpp | |
parent | b2e63373054f0f1c3dbcdfa5e75acf2831b113f6 (diff) | |
download | pdfium-0a7552ffa04bfb0c0523bd9c88e55e82842f53a8.tar.xz |
Verify row bytes before alloc in BMP codec.
If the out_row_bytes is negative the alloc will fail. Verify the size before
alloc and bail if it's negative.
BUG=633381
Review-Url: https://codereview.chromium.org/2202283003
Diffstat (limited to 'core/fpdfdoc/cpdf_apsettings.cpp')
0 files changed, 0 insertions, 0 deletions