#68 closed defect (fixed)
segmentation fault in Select evaluation
| Reported by: | Jorge | Owned by: | Jorge |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | SetAlgebra | Version: | head |
| Severity: | critical | Keywords: | |
| Cc: |
Description
The following code make a segmentation fault in TOL.
Struct str {Text n};
Set s = str("kk");
Set Select(s, Real(Set reg) {reg->n == "PL"});
Change History (2)
comment:1 Changed 22 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:2 Changed 19 years ago by
| bug_file_loc: | → http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000068 |
|---|
Note: See
TracTickets for help on using
tickets.

the UserCode did not checked for type matching in te argument list.
the fixed code is at CVS.