read from an uninitialized pointer when reading back salted key which didn't include a non-default salt