summaryrefslogtreecommitdiff
path: root/core/fxcodec/lbmp/fx_bmp.h
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2017-06-19 16:11:19 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-06-20 13:45:35 +0000
commitd5a13afe9265463a497db40d8c66a8a736a86bc2 (patch)
treed4d1471deadd18d7611c8fd9b678cbfdb1f8d27b /core/fxcodec/lbmp/fx_bmp.h
parent3962d80bde19074227c34f4615b0446f4975a098 (diff)
downloadpdfium-d5a13afe9265463a497db40d8c66a8a736a86bc2.tar.xz
Fix signedness of height in BMP decoder
Change-Id: I8a17739538a9ecd63d713007550177579c0b72f0 Reviewed-on: https://pdfium-review.googlesource.com/6731 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxcodec/lbmp/fx_bmp.h')
-rw-r--r--core/fxcodec/lbmp/fx_bmp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/fxcodec/lbmp/fx_bmp.h b/core/fxcodec/lbmp/fx_bmp.h
index bf5e94fc23..e30402070b 100644
--- a/core/fxcodec/lbmp/fx_bmp.h
+++ b/core/fxcodec/lbmp/fx_bmp.h
@@ -95,6 +95,7 @@ class BMPDecompressor {
size_t out_row_bytes;
uint16_t bitCounts;
uint32_t color_used;
+ bool imgTB_flag;
int32_t pal_num;
int32_t pal_type;
uint32_t* pal_ptr;