Opened 6 years ago

Closed 6 years ago

#4353 closed defect (fixed)

Backend crash using ST_Buffer

Reported by: strk Owned by: pramsey
Priority: blocker Milestone: PostGIS 3.0.0
Component: postgis Version: master
Keywords: Cc:

Description (last modified by strk)

It looks like someone changed the API of a C function, resulting in a backend crash upon using ST_Buffer old signature:

==8887== Invalid read of size 1
==8887==    at 0x5442B0: pg_detoast_datum (in /usr/lib/postgresql/9.6/bin/postgres)
==8887==    by 0x19D7D2A6: buffer (lwgeom_geos.c:809)
==8887==  Address 0x0 is not stack'd, malloc'd or (recently) free'd

NOTE: I'm using old signature because upgrade fails (see #4353)

Signature was changed in r17300 so Paul: it is in your plate to fix!

Change History (3)

comment:1 by strk, 6 years ago

Description: modified (diff)

comment:2 by pramsey, 6 years ago

In 17358:

Catch un-defaulted final parameter
References #4353

comment:3 by pramsey, 6 years ago

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