[CDRIVER-1532] Return false when raising MONGOC_ERROR Created: 08/Sep/16 Updated: 19/Oct/16 Resolved: 08/Sep/16 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | 1.4.0 |
| Fix Version/s: | 1.5.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Hannes Magnusson | Assignee: | Hannes Magnusson |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
There are some cases where we raise MONGOC_ERROR, without actually returning from the function, resulting in incorrect return values and probably incorrect behavior and maybe crashes. See https://github.com/mongodb/mongo-php-driver/pull/376#discussion_r78054370 for discussion |
| Comments |
| Comment by Githook User [ 08/Sep/16 ] |
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}Message: |