Pārlūkot izejas kodu

HPCC-24521 Fix hpcc-23483 regression

Signed-off-by: Jake Smith <jake.smith@lexisnexisrisk.com>
Jake Smith 4 gadi atpakaļ
vecāks
revīzija
81e4d97bd3
1 mainītis faili ar 5 papildinājumiem un 1 dzēšanām
  1. 5 1
      dali/base/dasds.cpp

+ 5 - 1
dali/base/dasds.cpp

@@ -1756,7 +1756,11 @@ void buildNotifyData(MemoryBuffer &notifyData, PDState state, CPTStack *stack, M
                 if (0 == pos) // common case
                 if (0 == pos) // common case
                     notifyData.append(3, "[1]");
                     notifyData.append(3, "[1]");
                 else
                 else
-                    notifyData.append('[').append(pos+1).append(']');
+                {
+                    char temp[12];
+                    unsigned written = numtostr(temp, pos+1);
+                    notifyData.append('[').append(written, temp).append(']');
+                }
                 parent = &child;
                 parent = &child;
                 s++;
                 s++;
                 if (s<n)
                 if (s<n)