Ticket #3181 (closed defect: fixed)
Heap corruption in CSLLoad2 (trunk only)
|Reported by:||rouault||Owned by:||rouault|
|Cc:||warmerdam, tamas, mloskot|
A recent change of mine to avoid using CSLAddString() in CSLLoad2() done in r17742 was triggering a out-of-range write in an heap allocated array when reading a file of more than 15 lines, that is the likely cause for recent random crashes or stalls on autotest seen by Tamas on his win slavebots (e.g. szekerest-vc90-full). FWTools 2.4.5 is also affected. Sorry for the inconvenience. Should be fixed by commit to follow.