mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-04-09 21:10:18 +00:00
pack_ext_type writes to the internal buffer but never checks self._autoreset, unlike every other public pack method. This means it always returns None and the packed data leaks into the output of the next pack() call, corrupting the serialized stream. Add the same autoreset pattern used by pack(), pack_map_pairs(), pack_array_header(), and pack_map_header(). |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| _cmsgpack.pyx | ||
| _packer.pyx | ||
| _unpacker.pyx | ||
| exceptions.py | ||
| ext.py | ||
| fallback.py | ||
| pack.h | ||
| pack_template.h | ||
| sysdep.h | ||
| unpack.h | ||
| unpack_container_header.h | ||
| unpack_define.h | ||
| unpack_template.h | ||