[MONGOCRYPT-208] Gracefully handle OOM Created: 11/Nov/19 Updated: 30/Mar/22 |
|
| Status: | Backlog |
| Project: | Libmongocrypt |
| Component/s: | C library |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Kevin Albertson | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
Currently, libmongocrypt explicitly asserts that calls to malloc/bson_malloc do not return NULL. Instead of asserting, we should return an error. |