Crossfire Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CF: USE_CALLOC




I tried running crossfire under purify and got thousands of uninitialised
memory reads when USE_CALLOC was not defined. I would recommend defining
USE_CALLOC until someone makes sure all the allocated memory is initialised.
(some bzero()s could be thrown into the code, or just stick with calloc() )

--
Rupert G. Goldie, Software Engineer                epartg@epa.ericsson.se
Advanced Service Applications Centre, Ericsson Australia
5/207 Bouverie St, Carlton, Victoria, AUSTRALIA, 3053
[to unsubscribe etc., send mail to crossfire-request@ifi.uio.no]