Skip to content
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

null pointer dereference in nlopt_optimize_ / nlopt_set_xtol_abs #461

Closed
gddl opened this issue Jul 2, 2022 · 3 comments · Fixed by #462
Closed

null pointer dereference in nlopt_optimize_ / nlopt_set_xtol_abs #461

gddl opened this issue Jul 2, 2022 · 3 comments · Fixed by #462

Comments

@gddl
Copy link

gddl commented Jul 2, 2022

nlopt_optimize(...)_ contains a few nlopt_set_xtol_abs(local_opt, opt->xtol_abs) calls with opt->xtol_abs beeing null since #268. This causes a null pointer dereference in nlopt_set_xtol_abs(...)'s memcpy.

@jschueller
Copy link
Collaborator

is #462 ok for you ?

jschueller added a commit to jschueller/nlopt that referenced this issue Jul 4, 2022
@gddl
Copy link
Author

gddl commented Jul 5, 2022

Yes, looks good. Thanks.

@jschueller
Copy link
Collaborator

jschueller commented Jul 5, 2022

@stevengj could you have a look at #462 ?

jschueller added a commit to jschueller/nlopt that referenced this issue Jan 11, 2023
jschueller added a commit that referenced this issue Jan 11, 2023
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 a pull request may close this issue.

2 participants