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

Allow GridFS seek past end-of-file

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.3.0-beta0
    • Affects Version/s: None
    • Component/s: GridFS
    • Environment:
      Debug builds of libmongoc
    • Fully Compatible

      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.

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

              Created:
              Updated:
              Resolved: