SourceForge.net wrote:
Bugs item #1461626, was opened at 2006-03-30 22:16
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=102439&aid=1461626&group_id=2439
...
Submitted By: Martin Olsson (mnem0)
Assigned to: Nobody/Anonymous (nobody)
Summary: check for valid destination before strcpy()
Initial Comment:
Lines 45 and 46 in ExternalLexer.cxx reads:
wls[i] = new char[words.length() + 1];
strcpy(wls[i], words.c_str());
It might be a good idea to check that wls[i] is
non-NULL before strcpy()
There is probably not much reason to single out this particular
instance of not checking that a "new" was successful... ;)
Robert Roessler
[EMAIL PROTECTED]
http://www.rftp.com
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest