jump-dev / ECOS.jl

A Julia interface to the ECOS conic optimization solver
https://github.com/embotech/ecos
Other
41 stars 17 forks source link

critical memory bug #62

Closed mlubin closed 6 years ago

mlubin commented 6 years ago

ECOS_cleanup writes to the problem data here. However, we pass arrays to ECOS that are not GC tracked past the setup call, e.g., here. These arrays could be freed before the call to ECOS_cleanup, so there's a potential for arbitrary memory corruption.