[Libreoffice-commits] core.git: sc/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Tue Aug 24 19:33:32 UTC 2021
sc/source/filter/excel/impop.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 4e86347d7ad76e16d8b0eaae5f12d1dfb763b531
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Aug 24 15:36:24 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Aug 24 21:32:53 2021 +0200
ofz: Out-of-memory, reduce max row allowed for TableOp when fuzzing
Change-Id: I6268a9974591f86c5918d1171bd8c5ae0a25a538
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120952
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sc/source/filter/excel/impop.cxx b/sc/source/filter/excel/impop.cxx
index c8bae9ae8969..6ecde0fbdd4b 100644
--- a/sc/source/filter/excel/impop.cxx
+++ b/sc/source/filter/excel/impop.cxx
@@ -1106,7 +1106,7 @@ void ImportExcel::TableOp()
if (utl::ConfigManager::IsFuzzing())
{
//shrink to smallish arbitrary value to not timeout
- nLastRow = std::min<sal_uInt16>(nLastRow, MAXROW_30);
+ nLastRow = std::min<sal_uInt16>(nLastRow, MAXROW_30 / 2);
}
if( GetRoot().GetDoc().ValidColRow( nLastCol, nLastRow ) )
More information about the Libreoffice-commits
mailing list