sometimes my app crashes when unpacking huge amounts of msgpack packets. unfortunately i can't reproduce it. i get the following trace: ``` object.Error@(0): Overlapping arrays in copy: 4065435 byte(s) overlap of 4843686 ---------------- 5 filters 0x0000000109721731 _d_arraycopy + 149 6 filters 0x00000001096f4fa5 @safe void msgpack.StreamingUnpacker.__mixin12.feed(const(ubyte[])) + 153 ``` why is the buffer array copied?
Activity
repeatedly commentedon Sep 23, 2015
That's weird. msgpack-d checks array overlap in this line >
msgpack-d/src/msgpack.d
Line 2030 in 2bd9089
Hmm... how about removing
overlapcheck and returns always dupped array in above line?