Opened 15 years ago

Closed 15 years ago

#572 closed defect (fixed)

ArcSDE provider: crash when using computed identifiers

Reported by: danstoica Owned by: dan stoica
Priority: major Milestone: 3.5.0
Component: ArcSDE Provider Version: 3.4.0
Severity: 1 Keywords:
Cc: External ID:

Description

Use any computed identifier like Floor(numerical_property). A crash will occur.

This happens because when ArcSDEFeatureReader::PrepareStream () is storing the column names in an array of colums it doesn't take into account the fact sde_wide_to_multibyte () doesn't allocate memory and the result is a pointer to a volatile string. This string goes out of block scope and the array of columns contains garbage.

Change History (1)

comment:1 by danstoica, 15 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.