From 3e2bd25e4ec9dd147adf41aeaf12d917444f000b Mon Sep 17 00:00:00 2001 From: INADA Naoki Date: Sun, 9 Jan 2011 23:54:06 +0900 Subject: [PATCH] python: Fix another segv. --- python/msgpack/_msgpack.pyx | 1 + 1 file changed, 1 insertion(+) diff --git a/python/msgpack/_msgpack.pyx b/python/msgpack/_msgpack.pyx index 5afa961a..0dd926fa 100644 --- a/python/msgpack/_msgpack.pyx +++ b/python/msgpack/_msgpack.pyx @@ -299,6 +299,7 @@ cdef class Unpacker(object): buf_size = new_size memcpy(buf + tail, (_buf), _buf_len) + self.buf = buf self.buf_head = head self.buf_size = buf_size self.buf_tail = tail + _buf_len