Opened 8 years ago

Closed 8 years ago

#6287 closed defect (fixed)

GTiffDataset::ScanDirectories() can cause CPLAssert()

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 1.11.4
Component: default Version: unspecified
Severity: normal Keywords: gtiff
Cc:

Description

ScanDirectories() can currently detect the first directory to be a mask, which can cause a CPLAssert( *ppoActiveDSRef == this
*ppoActiveDSRef == NULL ); in GTiffDataset::SetDirectory()

Change History (2)

comment:1 by Even Rouault, 8 years ago

Milestone: 1.11.4

trunk r32503, branches/2.0 r32504, branches/1.11 r32505 "GTiff: do not use first directory as potential mask, to avoid assertion in GTiffDataset::SetDirectory() (#6287)"

comment:2 by Even Rouault, 8 years ago

Resolution: fixed
Status: newclosed

This was found by AFL

Note: See TracTickets for help on using tickets.