[Libreoffice-commits] core.git: filter/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jan 16 21:31:33 UTC 2020
filter/source/graphicfilter/itga/itga.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6095612850973388ba5b121b34d02292a2548e7d
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Jan 16 20:41:50 2020 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Jan 16 22:30:58 2020 +0100
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 at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/filter/source/graphicfilter/itga/itga.cxx b/filter/source/graphicfilter/itga/itga.cxx
index 57c8a49bfc9b..ddf2db50f30d 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;
}
More information about the Libreoffice-commits
mailing list