Carsten Breuer wrote: >>> The first thing i had to learn was, that it is verry uncommon in >>> OpenOCD to check the result of malloc. >>> >> This is a known problem where we gladly accept patches to fix each >> case. > > OK, then i will start to fix all the mallocs > that are handled not correct yet and where > i understand what to do if they fail.
On a normal, modern operating system, (reasonably sized) mallocs should never fail, as the system will start thrashing and killing off processes long before malloc() fails. (This will be a different story for the Zy1000, of course..) best regards, -- Thomas Kindler <mail+...@t-kindler.de> _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development