Double free in gdalbuildvrt with -b may result in a crash
|Reported by:||Even Rouault||Owned by:||Even Rouault|
Description (last modified by )
When using gdalbuildvrt -b, the panBandList allocated in the main() is free'd by the main() and by the destructor of VRTBuilder class. Strangely this rarely crashed in 2.0 but is much more reproducible in trunk although the code has barely changed.