Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#6318 closed defect (fixed)

Potential memleak in GTiffDataset::GetJPEGOverviewCount()

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 2.0.2
Component: GDAL_Raster Version: 2.0.0
Severity: normal Keywords:


GTiffDataset::GetJPEGOverviewCount() can be called on a non-based dataset, which if other conditions are met, causes papoJPEGOverviewDS to be allocated but not free. It is not desirable that GetJPEGOverviewCount() return overviews on overviews.

Change History (2)

comment:1 Changed 4 years ago by Even Rouault

Resolution: fixed
Status: newclosed

trunk r33052, branches/2.0 r33053 "GTiff: fix potential memleak in GTiffDataset::GetJPEGOverviewCount() (#6318)"

comment:2 Changed 4 years ago by Even Rouault

Component: defaultGDAL_Raster
Milestone: 2.0.2
Version: unspecified2.0.0
Note: See TracTickets for help on using tickets.