-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Server Security
-
Fully Compatible
-
Security 2024-06-24, Security 2024-07-08, Security 2024-07-22, Security 2024-08-05, Security 2024-08-19, Security 2024-09-02
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
native_sasl_client_session.cpp has a number of function calls like this:
_saslConversation.reset(new SaslPLAINClientConversation(this));
'new' is considered bad form, because it creates objects which for a split second can leak if an exception is thrown. Instead, the code in this file should use make_unique. For example:
_saslConversation = std::make_unique<SaslPLAINClientConversation>(this);