-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Mint security eval fix #11273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Mint security eval fix #11273
Conversation
…proved method localization. Edit distance of unsolved generated patchs vs golden patches is low in many cases.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually i think this probably won't work since this is intentionally executing code
my bad, took the comment I understand then that it is executing code like 1+2, and then converts it to 3? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh my bad, actually look through this again, @juanmichelini you are probably right 😭
Changed eval call for ast.literal_eval call to fix Vulnerability report.
End-user friendly description of the problem this fixes or functionality this introduces.
Summarize what the PR does, explaining any non-trivial design decisions.
Link of any specific issues this addresses: