<div dir="ltr">Hi,<br><br>In RewriteRope.cpp, RewriteRope::MakeRopeString(const char *Start, const char *End),<br>we calculate the AllocSize by:<br><br>unsigned AllocSize = sizeof(RopeRefCountString) - 1 + AllocChunkSize;<br>
<br>I guess here the intention is: sizeof(RopeRefCountString) is 5. But gcc says sizeof(RopeRefCountString) is 8. So the actual AllocSize is 4087. Should we minus 4 instead of 1 to make the AllocSize 4084?<br><br>-Zhongxing Xu<br>
</div>