Opened 6 years ago

Closed 6 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


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 Changed 6 years ago by Even Rouault

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 Changed 6 years ago by Even Rouault

Resolution: fixed
Status: newclosed

This was found by AFL

Note: See TracTickets for help on using tickets.