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

Allow GridFS seek past end-of-file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Done
    • None
    • 1.3.0-beta0
    • 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

        Issue Links

          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: