mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-19 21:18:23 +01:00
python: Fix another segv.
This commit is contained in:
parent
ffd0c2f624
commit
3e2bd25e4e
@ -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…
x
Reference in New Issue
Block a user