commit | 87102541a926c5524158906f072900ea22850b5c | [log] [tgz] |
---|---|---|
author | Yuta HIGUCHI <y-higuchi@onlab.us> | Thu Oct 23 11:58:56 2014 -0700 |
committer | Yuta HIGUCHI <y-higuchi@onlab.us> | Thu Oct 23 12:14:37 2014 -0700 |
tree | 30c51ce672955d26ef5f941632ae59c3882004f9 | |
parent | e5ca93bf1f4cc1add802362ebbc7eb0516aee5d1 [diff] |
attempt to fix buffer underflow - IMap#get usually returns clone of original value, but when the type is byte[], it returns the original value. - During the deserialization process, Kryo temporarily modifies the input buffer, which may cause problem when multiple threads were reading the same value. - applying clone only to value deserialization for now, since it is unlikely that caller will be modifying Map key Change-Id: I52214ba711b4060663b0e1c451f49bdd1d472ea9