Kaydet (Commit) 18dc74eb authored tarafından Caolán McNamara's avatar Caolán McNamara

ofz: Integer-overflow

Change-Id: I29dbad16a8098ca93af0fda461d151cd310eef4c
Reviewed-on: https://gerrit.libreoffice.org/44124Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst d4dba274
......@@ -1885,7 +1885,7 @@ static bool WW8GetFieldPara(WW8PLCFspecial& rPLCF, WW8FieldDesc& rF)
// still new (nested) beginnings ?
WW8SkipField( rPLCF ); // nested Field in description
rF.bCodeNest = true;
if( !rPLCF.Get( rF.nSRes, pData ) )
if (!rPLCF.Get(rF.nSRes, pData) || rF.nSRes < 0)
goto Err;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment