crashtesting: crash on loading moz414782-1.svg

Change-Id: I1324b902c0790350bc8c44e7d63ce45915e3b33f
This commit is contained in:
Caolán McNamara 2016-02-09 10:05:07 +00:00
parent 3d42c1fc15
commit cb7d12ea4d

View File

@ -50,7 +50,7 @@ namespace basegfx
sal_Int32& io_rPos,
const OUString& rStr)
{
sal_Unicode aChar( rStr[io_rPos] );
sal_Unicode aChar = io_rPos < rStr.getLength() ? rStr[io_rPos] : 0;
OUStringBuffer sNumberString;
// sign