libsvm 3.15 and 3.16 potential crash on svm_free_model_content()
Created by: anjos
The following bug must be closed before we can properly release bob-1.2.0. The MacPort will be crippled without this.
The patch (to libsvm) is easy:
--- svm.cpp.orig 2013-01-31 12:03:51.000000000 +0100 +++ svm.cpp 2013-01-31 11:58:02.000000000 +0100 @@ -2747,6 +2747,7 @@ model->probB = NULL; model->label = NULL; model->nSV = NULL; + model->sv_indices = NULL; char cmd; while(1)
If you have problems using our libsvm bindings under MacPorts, please verify if you are not using one of the two versions of libsvm indicated in this bug report. If so, downgrade it to 3.14. or re-build it with the fix applied.
The author of libsvm has been informed of this problem and also the MacPorts maintainer. Both received the same patch instructions.