Core/Players: Fixed use after free in loading transmog outfit slots
Signed-off-by: luis <[email protected]>
This commit is contained in:
@@ -17804,7 +17804,7 @@ void Player::_LoadTransmogOutfits(PreparedQueryResult setsResult, PreparedQueryR
|
||||
|
||||
WorldPackets::Transmogrification::TransmogOutfitDataInfo outfitInfo;
|
||||
outfitInfo.SetType = transmogOutfitEntry->GetSetType();
|
||||
outfitInfo.Name = fields.name().GetString();
|
||||
outfitInfo.Name = fields.name().GetStringView();
|
||||
outfitInfo.Icon = fields.icon().GetUInt32();
|
||||
outfitInfo.SituationsEnabled = fields.situationsEnabled().GetBool();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user