Hi there,
I think bufferOverflow maybe happen in the file utils/misc/src/main/java/org/onlab/util/KryoNamespace.java when you use the Kryo library to serialize and deserialize the Java objects.The affected methods are as follows:
1.org.onlab.util.KryoNamespace.serialize(final Object obj, final int bufferSize)
2. org.onlab.util.KryoNamespace.deserialize(final byte[] bytes)
3. org.onlab.util.KryoNamespace.borrow()
4. org.onlab.util.KryoNamespace.release(Kryo kryo)
5. org.onlab.util.KryoNamespace.run(KryoCallback<T> callback)
Best regards,
Yiheng Cao
