浏览代码

HPCC-24521 Fix hpcc-23483 regression

Signed-off-by: Jake Smith <jake.smith@lexisnexisrisk.com>
Jake Smith 4 年之前
父节点
当前提交
81e4d97bd3
共有 1 个文件被更改,包括 5 次插入1 次删除
  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
                     notifyData.append(3, "[1]");
                 else
-                    notifyData.append('[').append(pos+1).append(']');
+                {
+                    char temp[12];
+                    unsigned written = numtostr(temp, pos+1);
+                    notifyData.append('[').append(written, temp).append(']');
+                }
                 parent = &child;
                 s++;
                 if (s<n)