Opened 16 years ago
Closed 15 years ago
#871 closed defect (fixed)
Segfault in Excel API
| Reported by: | Jorge | Owned by: | Jorge | 
|---|---|---|---|
| Priority: | highest | Milestone: | Mantainance | 
| Component: | Excel API | Version: | 2.0.1 | 
| Severity: | blocker | Keywords: | segfault, excel | 
| Cc: | 
Description
The following code with the attached data file generate a segfault
Real id = Excel.Open( "data.xls" );
Real Excel.ActivateWS( id, 1 );
Real row = 1;
Text cell = "";
While(cell=="",
{
 Text cell := Excel.ReadText( id, row, 3 );
 Real row := row+1
});
    Attachments (1)
Change History (4)
Changed 16 years ago by
comment:1 Changed 16 years ago by
| Status: | new → accepted | 
|---|
comment:2 Changed 16 years ago by
comment:3 Changed 15 years ago by
| Resolution: | → fixed | 
|---|---|
| Status: | accepted → closed | 
Note: See
        TracTickets for help on using
        tickets.
    

(In [2026]) refs #871, now TOL does not segfault. The Excel API considers the index 0-based and this should be changed in order to be consistent with the indexing in TOL which is 1-based