Skip to content

Fix mutability issue with the configuration#1

Open
lerela wants to merge 1 commit into
idanalyzer:mainfrom
fasfoxcom:main
Open

Fix mutability issue with the configuration#1
lerela wants to merge 1 commit into
idanalyzer:mainfrom
fasfoxcom:main

Conversation

@lerela

@lerela lerela commented Nov 4, 2022

Copy link
Copy Markdown

This fixes a major issue with the current implementation. Setting a parameter modifies self.params, which is also the CONFIG dictionary since the reference is shared, meaning that any subsequent instantiation of CoreAPI will silently inherit the settings of the previous instance if they are not overridden.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant