Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-390

Blob constructor silently truncates stream arguments

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 2.7.0
    • 2.7.0
    • Java-Android
    • Security Level: Public
    • None
    • CBL Sprint 6, CBL Sprint 7
    • 5

    Description

      The Blob type has three constructors.  One of them takes a byte array of any size.

      The other two attempt to read streams.  Both use a function that silently truncates the byte array that they ready to 8K.

      Originally https://github.com/couchbase/couchbase-lite-android-ce/issues/23

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              blake.meike Blake Meike
              blake.meike Blake Meike
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty