Files
UnrealEngineUWP/Engine/Source/Runtime/CoreUObject
Andrew Rodham 4f50114b65 Fixed vulnerability when destructing a FFeedbackContext that had outstanding slow tasks
The issue here is that the derived destructor for FFeedbackContextEditor would destroy it's TWeakPtr<SWindow>, proceeded by the destruction of any remaining FScopedSlowTasks held in the LegacyAPIScopes array. This destruction may have caused FFeedbackContextEditor::FinalizeSlowTask to be called which could have resulted in the TWeakPtr being used after its RefereceCount was deleted, causing a memory overwrite. I can't see any code in the wild which could have caused this, but I've also added some additional safety checks to catch error conditions earlier.

[CL 2605382 by Andrew Rodham in Main branch]
2015-06-30 06:30:06 -04:00
..