Allow GridFS seek past end-of-file

XMLWordPrintableJSON

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

      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 (Inactive)
              Reporter:
              Kyle Suarez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: