mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-06 17:59:52 +00:00
python: Fix another segv.
This commit is contained in:
parent
ed3f3899c1
commit
74e7ebea4f
1 changed files with 1 additions and 0 deletions
|
|
@ -299,6 +299,7 @@ cdef class Unpacker(object):
|
|||
buf_size = new_size
|
||||
|
||||
memcpy(buf + tail, <char*>(_buf), _buf_len)
|
||||
self.buf = buf
|
||||
self.buf_head = head
|
||||
self.buf_size = buf_size
|
||||
self.buf_tail = tail + _buf_len
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue