diff options
| author | Randy Palamar <palamar@ualberta.ca> | 2023-04-25 14:39:02 -0600 |
|---|---|---|
| committer | Randy Palamar <palamar@ualberta.ca> | 2023-05-28 08:51:57 -0600 |
| commit | 3909d70f554a140bd4fa6eea04e1e24ae8ccc663 (patch) | |
| tree | 4e200c019d0adc0f15b225de5c5e2fccfbd9d733 /lua/lexers/idl.lua | |
| parent | 814cda01ba7805d7c7e29871e979b609b9fa9312 (diff) | |
| download | vis-3909d70f554a140bd4fa6eea04e1e24ae8ccc663.tar.gz vis-3909d70f554a140bd4fa6eea04e1e24ae8ccc663.tar.xz | |
fix use after free in cmd_files()
When the cmd closes the window the window pointer gets freed along the
way. We can't use win->next to update the loop variable if sam_execute()
has been called. Instead we can store win->next early and use that
variable to continue the loop.
fixes #1090
Diffstat (limited to 'lua/lexers/idl.lua')
0 files changed, 0 insertions, 0 deletions
