Issue with NULL-initialized new profile configuration fixed

This commit is contained in:
Simon Rozman 2017-07-10 10:48:10 +02:00
parent 7ed4eda8ea
commit 9ce58c3e15

View File

@ -84,6 +84,7 @@ void eap::peer_ttls_ui::config_blob2xml(
// Unpack configuration.
config_connection cfg(*this);
if (dwConnectionDataSize)
unpack(cfg, pConnectionData, dwConnectionDataSize);
// Save configuration to XML.