[Cbc] CoinLpIO.cpp segfault
Christoph Cullmann
cullmann at absint.com
Fri Aug 2 06:20:23 EDT 2013
Hi,
it seems that the wrong variable is reset in the stable branch (and maybe trunk, too) in
void
CoinLpIO::passInMessageHandler(CoinMessageHandler * handler)
There is:
if (defaultHandler_){
delete handler_;
handler = NULL;
}
which should be:
if (defaultHandler_){
delete handler_;
handler_ = NULL;
}
Else it crashs for me on any execution, as handler_ is a null pointer later on as below that, handler is assigned to handler_.
Greetings
Christoph
--
----------------------------- Dr.-Ing. Christoph Cullmann ---------
AbsInt Angewandte Informatik GmbH Email: cullmann at AbsInt.com
Science Park 1 Tel: +49-681-38360-22
66123 Saarbrücken Fax: +49-681-38360-20
GERMANY WWW: http://www.AbsInt.com
--------------------------------------------------------------------
Geschäftsführung: Dr.-Ing. Christian Ferdinand
Eingetragen im Handelsregister des Amtsgerichts Saarbrücken, HRB 11234
More information about the Cbc
mailing list