#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 19 years ago by
| Status: | new → assigned |
|---|
comment:2 Changed 19 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
comment:3 Changed 19 years ago by
| bug_file_loc: | → http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000423 |
|---|
Note: See
TracTickets for help on using
tickets.

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