Opened 19 years ago

Closed 19 years ago

#1199 closed defect (fixed)

Postgis connector overflows buffers

Reported by: jerry.pisk@… Owned by: refractions
Priority: high Milestone:
Component: PostGIS Interface Version: 4.4
Severity: major Keywords:
Cc:

Description

The postgis connector is using fixed size string buffers without checking for 
overflows. The attached patch is dynamically allocating buffers to fit the 
data to be put in them.

I also disabled "connection pool" when threading is enabled for now, since it 
won't work. I'm planning on fixing the connection pool in the near future.

Attachments (3)

mappostgis.c.patch (91.1 KB ) - added by jerry.pisk@… 19 years ago.
mappostgis.c patch
mappostgis.c.2.patch (91.2 KB ) - added by jerry.pisk@… 19 years ago.
mappostgis.c patch
mappostgis.c.3.patch (1.6 KB ) - added by jerry.pisk@… 19 years ago.
Yet another mappostgis.c patch

Download all attachments as: .zip

Change History (5)

by jerry.pisk@…, 19 years ago

Attachment: mappostgis.c.patch added

mappostgis.c patch

by jerry.pisk@…, 19 years ago

Attachment: mappostgis.c.2.patch added

mappostgis.c patch

comment:1 by jerry.pisk@…, 19 years ago

attachments.isobsolete: 01

by jerry.pisk@…, 19 years ago

Attachment: mappostgis.c.3.patch added

Yet another mappostgis.c patch

comment:2 by jerry.pisk@…, 19 years ago

Resolution: fixed
Status: newclosed
Closing now that all these patches are checked in.
Note: See TracTickets for help on using tickets.