Commit 8b35dc57 authored by unknown's avatar unknown
Browse files

Fix for bug#19088: NDBAPI: Segfault in NdbIndexScanOperation::setBound(...)

parent 316c96fa
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1086,6 +1086,11 @@ int
NdbIndexScanOperation::setBound(const NdbColumnImpl* tAttrInfo, 
				int type, const void* aValue, Uint32 len)
{
  if (!tAttrInfo)
  {
    setErrorCodeAbort(4318);    // Invalid attribute
    return -1;
  }
  if (theOperationType == OpenRangeScanRequest &&
      (0 <= type && type <= 4) &&
      len <= 8000) {