You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
MCOL-5310 This patch replaces move-assignment with copy-assignment to avoid memory corruption (#2645)
Co-authored-by: Roman Nozdrin <rnozdrin@mariadb.com>
This commit is contained in:
@ -622,10 +622,8 @@ bool load_encryption_keys()
|
||||
{
|
||||
if (!ret.key.empty())
|
||||
{
|
||||
// CSPasswdLogging::get()->log(LOG_INFO,"Using encrypted passwords. Encryption key read from '%s'.",
|
||||
// path.c_str());
|
||||
this_unit.key = move(ret.key);
|
||||
this_unit.iv = move(ret.iv);
|
||||
this_unit.key = ret.key;
|
||||
this_unit.iv = ret.iv;
|
||||
}
|
||||
return ret.ok;
|
||||
}
|
||||
|
Reference in New Issue
Block a user