diff options
author | INADA Naoki <songofacandy@gmail.com> | 2011-01-09 23:54:06 +0900 |
---|---|---|
committer | INADA Naoki <songofacandy@gmail.com> | 2011-01-09 23:54:06 +0900 |
commit | 74e7ebea4f5f93dda9b266eae8019635b6142eef (patch) | |
tree | a7b5561a818adeca161d8b19794e08a4d6c24df5 /msgpack/_msgpack.pyx | |
parent | ed3f3899c1e22fc5dc61e88af3feee9029df6ec4 (diff) | |
download | msgpack-python-74e7ebea4f5f93dda9b266eae8019635b6142eef.tar.gz |
python: Fix another segv.
Diffstat (limited to 'msgpack/_msgpack.pyx')
-rw-r--r-- | msgpack/_msgpack.pyx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/msgpack/_msgpack.pyx b/msgpack/_msgpack.pyx index 5afa961..0dd926f 100644 --- a/msgpack/_msgpack.pyx +++ b/msgpack/_msgpack.pyx @@ -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 |