Merge branch '6.0.x'

This commit is contained in:
Arjen Poutsma
2023-11-15 14:33:55 +01:00
2 changed files with 12 additions and 5 deletions

View File

@@ -313,7 +313,7 @@ public class NettyDataBuffer implements PooledDataBuffer {
Assert.notNull(dest, "Dest must not be null");
dest = dest.duplicate().clear();
dest.put(destPos, this.byteBuf.nioBuffer(), srcPos, length);
dest.put(destPos, this.byteBuf.nioBuffer(srcPos, length), 0, length);
}
@Override