ofz#58830 Container-overflow READ 1

Change-Id: I7786a63c4cad8e4538b108a06551ff274a0ddcc6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151658
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Caolán McNamara 2023-05-11 08:39:05 +01:00
parent 8fa788c393
commit 2f4e74318a

View file

@ -993,6 +993,7 @@ namespace emfio
}
}
if (wrongFile) break;
nPointsCount = std::min(aPoints.size(), aPointTypes.size());
for (sal_uInt32 i = 0; i < nPointsCount; i++)
{
if (aPointTypes[i] == PT_MOVETO)