From 29a2296af8c0d0e6a630bce1c064e1211047d014 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 24 Jul 2019 11:37:16 +0100 Subject: cid#1448301 silence Untrusted loop bound MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ib5b592fdcf234a78747058eb3cdc7efc5d9cddc6 Reviewed-on: https://gerrit.libreoffice.org/76251 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- vcl/source/fontsubset/sft.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'vcl') diff --git a/vcl/source/fontsubset/sft.cxx b/vcl/source/fontsubset/sft.cxx index 2e974a10d3c6..e9aae0ba9356 100644 --- a/vcl/source/fontsubset/sft.cxx +++ b/vcl/source/fontsubset/sft.cxx @@ -436,6 +436,7 @@ static int GetSimpleTTOutline(TrueTypeFont const *ttf, sal_uInt32 glyphID, Contr pa[i++].flags = static_cast(flag); if (flag & 8) { /*- repeat flag */ n = *p++; + // coverity[tainted_data] - i > lastPoint extra checks the n loop bound for (j=0; j lastPoint) { /*- if the font is really broken */ free(pa); -- cgit