sw/source/filter/ww8/ww8scan.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 18dc74eb341bab121caac37b2525bc332a20324f Author: Caolán McNamara <caol...@redhat.com> Date: Tue Oct 31 15:38:29 2017 +0000 ofz: Integer-overflow Change-Id: I29dbad16a8098ca93af0fda461d151cd310eef4c Reviewed-on: https://gerrit.libreoffice.org/44124 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx index 4afa6b66a32b..e07b12129518 100644 --- a/sw/source/filter/ww8/ww8scan.cxx +++ b/sw/source/filter/ww8/ww8scan.cxx @@ -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; }
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits