Bug with msInsertLayer function
The msLayerInsert function could not handle to insert a new layerObj at the last
position of the mapObj's layer array. Like an append. Problem is, that the
msInsertLayer function try to free the layerObj at the new array position. But
this layerObj at the new array position where never initialised and no old
LayerObj was there. The Null-pointer guard in the msFree function fails, because
the pointers of the layerObj are undefined and not NULL. msFree try to free
uninitialied pointers.
Change History
(3)
Severity: |
trivial → minor
|
Resolution: |
→ invalid
|
Severity: |
major → enhancement
|
Status: |
new → closed
|