#67 closed defect (fixed)
tolbase crashes during evaluation
Reported by: | hamoros | Owned by: | Jorge |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Various | Version: | head |
Severity: | critical | Keywords: | TOL |
Cc: |
Description
Trying to eval the following code:
Attachments (1)
Change History (6)
Changed 21 years ago by
comment:1 Changed 21 years ago by
Component: | Eval → Unclassified |
---|---|
Keywords: | TOL added; Tol-Base removed |
product: | Tol-Base → TOL |
The code evaluated:
Set patterns = ("inx.htm", "cnt.htm", "*.gif", "*.jpg", "*.xls", "*.css",
"*.css", "*.js");
Real SFtpBuild("www.bayesforecast.com/html",
"/bysfor/web", "arccom", patterns,
"uracilo", "bayes", "*",
0.0, 0.0);
comment:2 Changed 21 years ago by
Owner: | changed from Javier Portugal to Jorge |
---|
This error can be resumed on the next lines:
Set getDir = GetDir("/directorioQueNoExiste");
Set filSet = getDir[1];
Set dirSet = getDir[2];
When argument dir of function "Set GetLine(Text dir)" is a path that doesn´t
exist, this funtion returns an empty set and an error is displayed.
Anyway, tol shouldn't crash when accesing to an element of an empty set.
comment:3 Changed 21 years ago by
Priority: | normal → high |
---|---|
Severity: | major → critical |
Status: | new → assigned |
the priority and severity are also changed (increased)
comment:4 Changed 21 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
fixed, a checking for NULL result was needed
comment:5 Changed 18 years ago by
bug_file_loc: | → http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000067 |
---|
functions for doing secure ftp on a group of files