python: Fix another segv.

This commit is contained in:
INADA Naoki 2011-01-09 23:54:06 +09:00
parent ffd0c2f624
commit 3e2bd25e4e

View File

@ -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