Opened 7 years ago

Closed 7 years ago

Last modified 7 years 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 by Even Rouault, 7 years ago

Resolution: fixed
Status: assignedclosed

In 39039:

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

comment:2 by Even Rouault, 7 years ago

In 39040:

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

comment:3 by Even Rouault, 7 years ago

In 39041:

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

Note: See TracTickets for help on using tickets.