[Uml-devel] branches/work/soc-umbrello/umbrello/codeimport
Gopala Krishna A
krishna.ggk at gmail.com
Tue Apr 13 11:26:05 UTC 2010
SVN commit 1114386 by gopala:
Merged r1065859 of trunk into soc branch.
Commit by gopala:
* Fixed crash while importing pascal code..
(QString bound checking before accessing index was missing)
M +1 -1 pascalimport.cpp
--- branches/work/soc-umbrello/umbrello/codeimport/pascalimport.cpp #1114385:1114386
@@ -72,7 +72,7 @@
m_source.append(lexeme);
lexeme.clear();
}
- if (c == ':' && word[i + 1] == '=') {
+ if (i+1 < len && c == ':' && word[i + 1] == '=') {
m_source.append(":=");
i++;
} else {
More information about the umbrello-devel
mailing list