undefined behaviour in msgpack::unpacker::next - malloc/delete
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
msgpack (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
* Description: Ubuntu 14.10
Release: 14.10
* 0.5.7-3ubuntu1
* I expected that application linked with msgpack3 passed all valgrind memory checks
* undefined behaviour in msgpack:
=======
https:/
Step-by-step instructions to reproduce this bug.
=======
In 0.5.7 version msgpack::unpacker holds zone in std::aut_ptr.
In msgpack:
result-
Look here: https:/
release_zone() implemented in C-style with malloc(). Line 234 causes an undefined behaviour: malloc/delete.
This bug and many others fixed in 0.5.9.
0.5.9 and 0.5.7 have the same API, so there is no reason to have old version of msgpack in Ubuntu repo.
description: | updated |
Changed in msgpack (Ubuntu): | |
status: | Incomplete → Confirmed |
status: | Confirmed → Incomplete |
Changed in msgpack (Ubuntu): | |
status: | Incomplete → Confirmed |
Could you describe the specific steps to reproduce the before mentioned issue?