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:
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