Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-849

Allow GridFS seek past end-of-file

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.3.0-beta0
    • None
    • GridFS
    • Debug builds of libmongoc
    • Fully Compatible

    Description

      We do

      BSON_ASSERT (file->length > (int64_t)offset)
      

      when doing mongoc_gridfs_file_seek(), but one should be able to freely seek past the end of a file.

      Attachments

        Activity

          People

            kyle.suarez@mongodb.com Kyle Suarez
            kyle.suarez@mongodb.com Kyle Suarez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: