[Lldb-commits] [PATCH] D42346: Fix use after free in DiskFilesOrDirectories

2018-01-22 Thread Raphael Isemann via Phabricator via lldb-commits
This revision was not accepted when it landed; it landed in state "Needs Review". This revision was automatically updated to reflect the committed changes. Closed by commit rL323082: Fix use after free in DiskFilesOrDirectories (authored by teemperor, committed by ). Herald added a subscriber:

[Lldb-commits] [PATCH] D42346: Fix use after free in DiskFilesOrDirectories

2018-01-20 Thread Raphael Isemann via Phabricator via lldb-commits
teemperor created this revision. teemperor added a reviewer: zturner. We copy the local variable `Resolved` into `Storage` to keep it around. However, we then still let the `SearchDir` ref point to `Resolved` which then is used to access the already freed memory later on. With this patch we