diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-10-31 15:14:49 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2019-10-31 15:16:02 +0100 |
commit | 565f7183aab390986e678dfb909e2481e94e441f (patch) | |
tree | 23837d00b693904cab1eeddc84c2ce15158f2ab1 /editor/editor_sub_scene.h | |
parent | 55fd63d9de05afd311c981df52bd50262aace9b5 (diff) |
Prevent crash when we can't write to editor cache or config path
This can happen if users somehow got wrong user permissions assigned to
their Godot cache, config or data paths (e.g. `~/.config/godot`).
The error messages should give them a hint as to what the issue may be.
Fixes #33199.
There may be other situations that still lead to a crash, we need to
review all uses of `FileAccess::open` with `FileAccess::WRITE` mode to
ensure that proper pointer validation is done.
Diffstat (limited to 'editor/editor_sub_scene.h')
0 files changed, 0 insertions, 0 deletions