Opened 4 months ago

Closed 4 months ago

Last modified 4 months ago

#6920 closed defect (fixed)

ogr2ogr -f PDF -a_srs may crash

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 2.1.4
Component: Utilities Version: unspecified
Severity: normal Keywords:
Cc:

Description

There's an issue with the reference counting of the spatial reference object created by -a_srs. It gets destroyed at the end of GDALVectorTranslate(), but the PDF/MEM layer might still contain features whose geometries have references to it.

Change History (3)

comment:1 Changed 4 months ago by Even Rouault

Resolution: fixed
Status: assignedclosed

In 39039:

ogr2ogr/GDALVectorTranslate(): fix crash when using -f PDF -a_srs (fixes #6920)

comment:2 Changed 4 months ago by Even Rouault

In 39040:

ogr2ogr/GDALVectorTranslate(): fix crash when using -f PDF -a_srs (fixes #6920)

comment:3 Changed 4 months ago by Even Rouault

In 39041:

ogr2ogr/GDALVectorTranslate(): fix crash when using -f PDF -a_srs (fixes #6920)

Note: See TracTickets for help on using tickets.