Uploaded image for project: 'XNIO'
  1. XNIO
  2. XNIO-122

Buffers.copy(ByteBuffer, int, BufferAllocator) throws BufferOverflowException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.1.0.Beta2
    • None
    • api
    • None
    • Workaround Exists

      This could happen in the following copy methods:

      • copy(ByteBuffer buffer, int sliceSize, BufferAllocator<ByteBuffer> allocator): if sliceSize is negative, a call to buffer.limit(oldLim + sliceSize) is performed, which causes the BuferOverflowException
        -copy(ByteBuffer destination, ByteBuffer[] sources, int offset, int length): if destination.remaining() is smaller than the number of bytes to copy

            flaviarnn Flavia Rainone
            flaviarnn Flavia Rainone
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: