[Libreoffice-commits] core.git: sc/source
Eike Rathke
erack at redhat.com
Thu Jun 22 15:40:37 UTC 2017
sc/source/core/tool/interpr1.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 23580a95fb5aa5b64d7d767eb0f5a89b0d740460
Author: Eike Rathke <erack at redhat.com>
Date: Thu Jun 22 17:36:20 2017 +0200
assert( nX < nC && nY < nR ); cause of tdf#108292
Change-Id: Iaa23361510b1aa1eebfa6618b526fc7d9d6fa537
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index 0cce79baa8b5..7fda5c2cca81 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -7050,6 +7050,7 @@ void ScInterpreter::CalculateLookup(bool bHLookup)
nX = nDelta;
nY = static_cast<SCSIZE>(nZIndex);
}
+ assert( nX < nC && nY < nR );
if ( pMat->IsString( nX, nY) )
PushString(pMat->GetString( nX,nY).getString());
else
More information about the Libreoffice-commits
mailing list