TAutoPtr uses default copy / move constructors which can cause dangling references.
This means there are a number of cases (copying auto pointers in inner scopes, passing auto pointers by value, etc) where the underlying pointer can be freed when one instance is destroyed, but the other instances are still pointing to that garbage data.
TAutoPtr has been deprecated.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-34117 in the post.
1 |
Component | UE - Foundation - Core |
---|---|
Affects Versions | 4.12, 4.13 |
Target Fix | 4.15 |
Fix Commit | 3195119 |
---|---|
Main Commit | 3228932 |
Created | Aug 2, 2016 |
---|---|
Resolved | Dec 6, 2016 |
Updated | Apr 27, 2018 |