Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Duplicate
-
None
-
None
Description
Currently the approach for dealing with memory allocation errors varies; some functions assume malloc and realloc can fail, others that they always will succeed, and most functions assume strdup will always succeed.
The policy needs to be clearly defined and thereafter the usage throughout MaxScale must be modified to adhere to it.
Attachments
Issue Links
- blocks
-
MXS-350 Return value of realloc must not be assigned to provided pointer.
- Closed