Skip to content

Commit

Permalink
Fix corruption in the client.
Browse files Browse the repository at this point in the history
  • Loading branch information
rescrv committed Feb 5, 2016
1 parent 9672eeb commit 8d8ca67
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/hyperspace.cc
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,8 @@ hyperdex :: operator >> (e::unpacker up, space& s)
uint16_t num_indices;
up = up >> s.id >> name >> s.fault_tolerance >> s.sc.attrs_sz
>> num_subspaces >> num_indices;
strs.reserve(s.sc.attrs_sz + 1);
attrs.reserve(s.sc.attrs_sz);
strs.push_back(std::string(name.cdata(), name.size()));
s.name = strs.back().c_str();

Expand Down

0 comments on commit 8d8ca67

Please sign in to comment.