Files
UnrealEngineUWP/Engine/Source
andrew rodham 09ae5e945e Disable copying of FConstPawnIterator to prevent the possibility of a double deletion
- This vulnerability is largely unseen due to the prevalence of RVO and copy-elision, but some code (specifically TConstPawnArray) was resulting in a copy of the iterator, and subsequent double deletion of the actor iterator as a result.
  - Ideally FConstPawnIterator would not rely on heap allocated pointers so heavily, but I think the safest fix of least risk is to define move operators, and delete its copy constructors.
  - UE-75216 itself regressed in 6548275

#jira UE-75216
#rb Marc.Audy, Steve.Robb

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: andrew.rodham
#ROBOMERGE-SOURCE: CL 6783798 via CL 6788219 via CL 6799002
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim) (v365-6733468)

[CL 6821332 by andrew rodham in Dev-Anim branch]
2019-06-03 19:11:52 -04:00
..
2019-06-03 08:35:15 -04:00