• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

OSGeo / gdal / 28741505993

05 Jul 2026 12:56PM UTC coverage: 71.879% (+0.003%) from 71.876%
28741505993

push

github

web-flow
[Backport release/3.13] FAST: cap band count at MAX_FILES when parsing BANDS PRESENT (#14913)

For IRS P6 datasets the BANDS PRESENT loop in FASTDataset::Open() opened one channel per digit and incremented l_nBands without checking it against MAX_FILES (7), the size of the fpChannels/apoChannelFilenames member arrays. BANDS PRESENT holds up to 32 chars and a repeated digit reopens the same sidecar each time, so l_nBands walked past the arrays and OpenChannel() wrote out of bounds. Cap it at MAX_FILES, like the FILENAME fallback loop's i<7 bound.

1 of 1 new or added line in 1 file covered. (100.0%)

50 existing lines in 17 files now uncovered.

618253 of 860133 relevant lines covered (71.88%)

316778.11 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

71.26
/port/cpl_compressor.cpp


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc