Opened 16 years ago

Closed 16 years ago

#1991 closed defect (fixed)

[PATCH] Improved robustness to broken shapefiles

Reported by: Even Rouault Owned by: warmerdam
Priority: normal Milestone: 1.5.0
Component: OGR_SF Version: unspecified
Severity: normal Keywords: shapelib
Cc: Mateusz Łoskot

Description

The attached patch adds checks after mallocs to detect for corrupted/voluntary broken shapefiles.

Attachments (1)

gdal_svn_trunk_shpopen_improved_robustness.patch (4.7 KB ) - added by Even Rouault 16 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 by warmerdam, 16 years ago

Cc: Mateusz Łoskot added
Milestone: 1.5.0
Status: newassigned

I have applied this upstream in shapelib, but I can't backport the upstream version into GDAL at this time as Mateusz has local patches in GDAL.

Mateusz, your changes need to be upstreamed. Lets get this worked out.

comment:2 by Mateusz Łoskot, 16 years ago

Resolution: fixed
Status: assignedclosed

Even's patch has been applied (r12776). Also, Shapelib files have been synced with the upstream.

Note: See TracTickets for help on using tickets.