[MXS-326] Return-value of strdup must be checked. Created: 2015-08-21  Updated: 2017-12-01  Resolved: 2016-06-16

Status: Closed
Project: MariaDB MaxScale
Component/s: Core
Affects Version/s: None
Fix Version/s: 2.1.0

Type: New Feature Priority: Minor
Reporter: Johan Wikman Assignee: Johan Wikman
Resolution: Fixed Votes: 0
Labels: None


 Description   

In general the return value of strdup is not checked.



 Comments   
Comment by Johan Wikman [ 2016-06-16 ]

All uses of strdup now either check the return value or have been replaced with calls to mxs_strdup that behaves like strdup except that it takes the process down if the allocation fails.

Generated at Thu Feb 08 03:58:27 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.