Commit d5d3b0f6 authored by neverlord's avatar neverlord

fixed critical bug in binary_deserializer::read_raw

parent 7352136d
......@@ -174,7 +174,7 @@ void binary_deserializer::read_tuple(size_t size,
void binary_deserializer::read_raw(size_t num_bytes, void* storage) {
range_check(pos, end, num_bytes);
memcpy(&storage, pos, num_bytes);
memcpy(storage, pos, num_bytes);
pos += num_bytes;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment