diff options
author | David Tardon <dtardon@redhat.com> | 2014-11-03 19:42:09 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2014-11-03 21:49:20 +0100 |
commit | 0150921c3d898c9fd31e8312df1d717a4632d16d (patch) | |
tree | 04f6c4ebc2a005423ff6a4bcf1242da5653f9e84 /vcl/inc | |
parent | 76dce95eed6892d729fbea2b990911edd82ded82 (diff) |
coverity#1242806 untrusted pointer read
Change-Id: Ib92e1a22d7d25f4498272731af12c485937f38ef
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/sft.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/sft.hxx b/vcl/inc/sft.hxx index 6dae9de87400..5d0f4938fa46 100644 --- a/vcl/inc/sft.hxx +++ b/vcl/inc/sft.hxx @@ -564,7 +564,7 @@ namespace vcl sal_uInt32 numOfLongVerMetrics; /* if this number is not 0, font has vertical metrics information */ const sal_uInt8* cmap; int cmapType; - sal_uInt32 (*mapper)(const sal_uInt8 *, sal_uInt32); /* character to glyphID translation function */ + sal_uInt32 (*mapper)(const sal_uInt8 *, sal_uInt32, sal_uInt32); /* character to glyphID translation function */ const sal_uInt8 **tables; /* array of pointers to raw subtables in SFNT file */ sal_uInt32 *tlens; /* array of table lengths */ int kerntype; /* Defined in the KernType enum */ |