Re: [cc65] CC65 Memory Corruption

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-01-05 21:15:47


Hi!

On Thu, Jan 02, 2003 at 06:23:17PM -0500, Tim Vanderhoek wrote:
> The FreeBSD 'port' failed to build on FreeBSD 5.0 (not yet released).  The
> malloc() and free() on FBSD 5.0 is set to by default overwrite memory
> with 0xd0d0d0d0 whenever it's free()'d.

This is a good idea. I will probably add something like this to the xmalloc
module.

> I'm quite surprised the memory debugger didn't find it. 

I'm somewhat suprised myself. But then, this was some time ago, and I cannot
say if the problematic functions were actually called (that is, the code
sequences that should be replaced where in my sources). There is also the
possibility of a user error. Maybe I did something wrong.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-01-05 21:15:51 CET