We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 395302d commit 1e20eedCopy full SHA for 1e20eed
source/core/slang-hex-dump-util.cpp
@@ -79,7 +79,7 @@ SlangResult HexDumpUtil::dumpSourceBytes(
79
80
// each byte is output as "0xAA, "
81
// Ends with '\n"
82
- const size_t lineBytes = count * (4 + 1 + 1) * count + 1;
+ const size_t lineBytes = count * 6 + 1;
83
84
char* startDst = writer->beginAppendBuffer(lineBytes);
85
char* dst = startDst;
0 commit comments