| commit | 4e86347d7ad76e16d8b0eaae5f12d1dfb763b531 | [log] |
|---|---|---|
| author | Caolán McNamara <caolanm@redhat.com> | Tue Aug 24 15:36:24 2021 +0100 |
| committer | Caolán McNamara <caolanm@redhat.com> | Tue Aug 24 21:32:53 2021 +0200 |
| tree | 548aee9cdf02d5ac8681a4370aa04f6d4e0f4c67 | |
| parent | 27273c2c43875acda77b3262c6a4e6138d5dacf6 [diff] |
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@redhat.com>
diff --git a/sc/source/filter/excel/impop.cxx b/sc/source/filter/excel/impop.cxx index c8bae9a..6ecde0fb 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 ) )