Skip to content
This repository was archived by the owner on Jan 18, 2024. It is now read-only.

Commit 74e7ebe

Browse files
committed
python: Fix another segv.
1 parent ed3f389 commit 74e7ebe

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

msgpack/_msgpack.pyx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ cdef class Unpacker(object):
299299
buf_size = new_size
300300

301301
memcpy(buf + tail, <char*>(_buf), _buf_len)
302+
self.buf = buf
302303
self.buf_head = head
303304
self.buf_size = buf_size
304305
self.buf_tail = tail + _buf_len

0 commit comments

Comments
 (0)