From: SourceForge.net <no...@so...> - 2003-05-28 09:44:41
|
Bugs item #744803, was opened at 2003-05-28 11:44 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428740&aid=744803&group_id=40728 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Jean Bréfort (jbrefort) Assigned to: Nobody/Anonymous (nobody) Summary: OBExtensionTable::TypetoMIME is unsafe Initial Comment: OBExtensionTable::TypetoMIME copies the MIME type into a buffer which size is unknown. This is unsafe and should be changed. The solution might be to add a length parameter to the method. From the user's point of view, the buffer used must be larger than the length of the largest mime-type known by OpenBabel and this might change when new types are added. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428740&aid=744803&group_id=40728 |