Opened 10 years ago

Closed 10 years ago

#5718 closed defect (fixed)

MITAB: Segfault in read-write mode for aspatial TABs

Reported by: cdestigter Owned by: warmerdam
Priority: normal Milestone:
Component: OGR_SF Version: svn-trunk
Severity: normal Keywords: mitab, segfault
Cc: Robert Coup

Description

The attached MITAB causes a segfault in ogrinfo when run in read-write mode.

$ ogrinfo -al aspatial-table.tab
Segmentation fault (core dumped)

Note there's no MAP file present. This segfault doesn't occur if run by a user without permissions to write to the files.

I presume this was introduced by [27691] and related MITAB changes; it didn't occur on our gdal build from a few months ago.

Attachments (1)

test.zip (541 bytes ) - added by cdestigter 10 years ago.

Download all attachments as: .zip

Change History (2)

by cdestigter, 10 years ago

Attachment: test.zip added

comment:1 by Even Rouault, 10 years ago

Resolution: fixed
Status: newclosed

yes, trunk regression due to recent MITAB changes.

trunk r27912 "MITAB: fix opening in update mode of non-spatial layers (i.e. without .map) (#5718): note update operations on such layers untested and likely need fixes"

Note: See TracTickets for help on using tickets.