sc/source/core/data/table6.cxx | 5 +++++ 1 file changed, 5 insertions(+)
New commits: commit 99b06e60ca9ad69bdd4d790097ff53ce56cd3bd0 Author: Eike Rathke <er...@redhat.com> Date: Wed Apr 16 00:01:50 2014 +0200 CID#736182 guard against a dubious call from SearchAndReplace() Change-Id: I6ce1b577c377721b882c1f8ec757a61e600ae671 diff --git a/sc/source/core/data/table6.cxx b/sc/source/core/data/table6.cxx index 1644f42..a6101db 100644 --- a/sc/source/core/data/table6.cxx +++ b/sc/source/core/data/table6.cxx @@ -516,6 +516,11 @@ bool ScTable::SearchStyle(const SvxSearchItem& rSearchItem, SCCOL& rCol, SCROW& if (bRows) // zeilenweise { + if (!ValidCol(nCol)) + { + SAL_WARN( "sc.core", "SearchStyle: bad column " << nCol); + return false; + } nRow += nAdd; do { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits