Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
None
-
None
Description
The latest gridfs fix doesn't cover case when page == NULL.
|
if (offset / file->chunk_size != file->pos / file->chunk_size) {
|
...
|
} else {
|
_mongoc_gridfs_file_page_seek (file->page, offset % file->chunk_size);
|
}
|
|
If page == NULL, pos == 0 and offset < chunk_size it will try to seek in NULL page
Attachments
Issue Links
- is duplicated by
-
CDRIVER-684 application crash
-
- Closed
-
-
CDRIVER-847 Cannot seek on new GridFS file
-
- Closed
-