close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 21 years ago

Closed 21 years ago

Last modified 18 years ago

#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 21 years ago by Jorge

Resolution: fixed
Status: newclosed

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

comment:2 Changed 18 years ago by Víctor de Buen Remiro

bug_file_loc: http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000068
Note: See TracTickets for help on using tickets.