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 19 years ago

Closed 18 years ago

Last modified 18 years ago

#423 closed defect (fixed)

Segmentation fault when you using a BDB with a incorrent number fields in Structure argument

Reported by: César Pérez Álvarez Owned by: danirus
Priority: normal Milestone:
Component: Various Version: head
Severity: normal Keywords:
Cc:

Description

If you try this code:

Struct MyStruct
(

Text Field1,
Text Field2

);

Set csvData =

BDBOpen("data.csv", 0, ";", "", "MyStruct");

Set csvInfo = BDBReg(csvData, 1);

With a simple data.csv like this:

info1;info2;info3

TOLBase crashs

Change History (3)

comment:1 Changed 18 years ago by danirus

Status: newassigned

comment:2 Changed 18 years ago by danirus

Resolution: fixed
Status: assignedclosed

It was a null pointer access in BDB.
Just fixed.

Cheers

comment:3 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_000423
Note: See TracTickets for help on using tickets.