[CDRIVER-137] Exit fatally if bson_malloc and friends fail. Created: 17/May/12  Updated: 14/Aug/12  Resolved: 14/Aug/12

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

Type: Improvement Priority: Major - P3
Reporter: Kyle Banker Assignee: Gregor Macadam
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CDRIVER-116 Find an alternative to R_SAFETY_NET Closed

 Comments   
Comment by Gregor Macadam [ 14/Aug/12 ]

bson_malloc and friends already call

bson_fatal_msg

which in turn calls

 exit( -5 );

as long as

#ifndef R_SAFETY_NET

is true

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