Bugs item #3400061, was opened at 2011-08-29 14:50 Message generated for change (Tracker Item Submitted) made by chchae You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428740&aid=3400061&group_id=40728
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Library Functions Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Chong Hak Chae (chchae) Assigned to: Nobody/Anonymous (nobody) Summary: Buf fix request Initial Comment: Dear OpenBabel, OpenBabel crashes when reading sdf input file having alias keyword with blank next line. You'd better to fix the mdlformat.cpp line number 498 as follows : //MDL documentation just has alias text here( x... ). A single line is assumed, //and its contents ignored if it starts with ? or * . std::getline(ifs, line); if( ! line.empty() && line.at(0) != '?' && line.at(0) != '*') { // fix here!!!!! AliasData* ad = new AliasData(); ad->SetAlias(line); Regards, Chong Hak Chae, ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428740&aid=3400061&group_id=40728 ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ OpenBabel-Devel mailing list OpenBabel-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-devel