dubbo
dubbo copied to clipboard
bug in FastJson2ObjectInput.readBytes and FastJson2ObjectOutput.writeBytes
The type of length is int, but only a single byte is being read and written.
It should be changed to readLength
and writeLength
.
BTW, org.apache.dubbo.common.serialize.DataInput#readBytes
has no usage now.
It should be changed to
readLength
andwriteLength
. BTW,org.apache.dubbo.common.serialize.DataInput#readBytes
has no usage now.
org.apache.dubbo.common.serialize.DataInput#writeBytes ,It doesn't seem to have been used either
Fixed in #13968