This fixes lp:1010899, which showed a condition where we could end up with a bad...
authorBrian Aker <brian@tangent.org>
Fri, 6 Jul 2012 20:00:13 +0000 (13:00 -0700)
committerBrian Aker <brian@tangent.org>
Fri, 6 Jul 2012 20:00:13 +0000 (13:00 -0700)
commit19d7df5119c3f07370f58857f4d916cd5de398ea
treedf511a5e04af45ef5cb70f5ecc5b79725da45411
parent133c8ed7290daf0143bb14fba174be39996646a6
This fixes lp:1010899, which showed a condition where we could end up with a bad memc. This does use a trick of reserve and stl::vector to make sure that we have null termination like what we have in the C API.
libmemcached-1.0/memcached.hpp
tests/include.am
tests/libmemcached-1.0/include.am
tests/libmemcached-1.0/plus.cpp