Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Protect cleanup code of plugin unload from deleting any files other than temp files #1614

Closed
rashmigottipati opened this issue Apr 26, 2017 · 0 comments

Comments

@rashmigottipati
Copy link
Contributor

There was a case for a stand-alone plugin where all the files in the current working directory were removed as there are no checks provided in the cleanup code of plugin unload in the plugin_manager. We need checks around the cleanup code in plugin_manager.go so that we prevent deletion of any other files other than the temp files that are created to load plugins.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant