[CDRIVER-684] application crash Created: 21/May/15  Updated: 21/May/15  Resolved: 21/May/15

Status: Closed
Project: C Driver
Component/s: GridFS
Affects Version/s: None
Fix Version/s: 1.2.0

Type: Bug Priority: Major - P3
Reporter: Kent Sibilev Assignee: A. Jesse Jiryu Davis
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates CDRIVER-510 Fix for GridFS file seek if page == NULL Closed

 Description   

calling mongoc_gridfs_file_seek after mongoc_gridfs_file_save call results in EXC_BAD_ACCESS (SIGSEGV). It seems that mongoc_gridfs_file_save resets the page but doesn't check for it being NULL.



 Comments   
Comment by A. Jesse Jiryu Davis [ 21/May/15 ]

Apologies for this bug - right now you need to create a new file with mongoc_gridfs_find_one or mongoc_gridfs_find_one_by_filename in order to read its contents back.

Generated at Wed Feb 07 21:10:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.