| commit | 6095612850973388ba5b121b34d02292a2548e7d | [log] |
|---|---|---|
| author | Caolán McNamara <caolanm@redhat.com> | Thu Jan 16 20:41:50 2020 +0000 |
| committer | Caolán McNamara <caolanm@redhat.com> | Thu Jan 16 22:30:58 2020 +0100 |
| tree | 2a564f7a41b2e4b51c5b24eb662e40ab8f2dba1b | |
| parent | 92b10e5c0825a2fe176738a1b86e2b4db0a263cb [diff] |
ofz#20160 Integer-overflow since... commit cf82475c785c47327cdc9d591d63d7a82dd1ac53 Date: Sun Dec 8 19:46:45 2019 +0530 tdf#114441 Changing sal_uLong to appropriate integer type in filters module Change-Id: I1f29e764c6405bb05dfd27da06bdc08cf8ae13cc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86947 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
diff --git a/filter/source/graphicfilter/itga/itga.cxx b/filter/source/graphicfilter/itga/itga.cxx index 57c8a49..ddf2db5 100644 --- a/filter/source/graphicfilter/itga/itga.cxx +++ b/filter/source/graphicfilter/itga/itga.cxx
@@ -715,7 +715,7 @@ bool TGAReader::ImplReadPalette() { case 0x3f : { for ( sal_uInt16 i = 0; i < nColors; i++ ) for (sal_uInt32 i = 0; i < nColors; ++i) { mpColorMap[ i ] = ( i << 16 ) + ( i << 8 ) + i; }