Opened 4 years ago

Closed 4 years ago

#6307 closed defect (fixed)

BSB: crashes on corrupted files

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

Description

The logic introduced in r20801 to deal with extension lines in headers is broken (should be refering to index = CSLCount() - 1), and useless since BSBReadHeaderLine() already deals for such lines. The broken code could be hit for very long lines exceeding the buffer size.

Change History (1)

comment:1 Changed 4 years ago by Even Rouault

Milestone: 1.11.4
Resolution: fixed
Status: newclosed

trunk r32973, branches/2.0 r32974, branches/1.11 r32975 "BSB: remove broken and useless logic to deal with extension lines in headers (#6307)"

Note: See TracTickets for help on using tickets.