hi
there is (at least) one bug in the PDContainer external which brought pd-0.39 miller to crash on my macos x 10.4.2 powerbook g4. map MapBase::get() does not check if an element was actually found for the key and may return garbage data which leads to the crash. attached is a patch which fixes this issue using a pointer instead of a reference as return value and setting it to NULL if the key has no element associated with.
i did not look into the other classes which may have similiar problems (multimap?,set?,...).
- lorenz
Hallo!
thanks! yes, I know of this problem and have (for some containers) fixed it with the use of exception (I also fixed some huge memory leaks ...)
I think I have time this week to complete the work ... (will also try to make it compile with gcc4 ...)
anyway, thanks for the patch, LG Georg