malloc() debugging flags broken on RELENG_5
From: Bartosz Fabianowski (freebsd_at_chillt.de)
Date: 03/21/05
- Previous message: Matthias Buelow: "Re: bdes (and other) problems on 5.3 fixit cd"
- Next in thread: Dan Nelson: "Re: malloc() debugging flags broken on RELENG_5"
- Reply: Dan Nelson: "Re: malloc() debugging flags broken on RELENG_5"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 21 Mar 2005 18:27:52 +0100 To: freebsd-stable@freebsd.org
Hi
Some commit in the last few weeks has broken the malloc() debug flags on RELENG_5. According to the man page, a call to free() or realloc() with a modified pointer should cause a warning. Setting the "A" flag in either /etc/malloc.conf or MALLOC_OPTIONS should turn this into an error. However, what happens is that this *always* causes an error. And even setting the corresponding "a" flag does not turn it into a warning. This is very unfortunate as some poorly written programs (KDE's Kopete messenger in my case) seem to rely on the fact that free() and realloc() with modified pointers are OK.
- Bartosz
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
- Previous message: Matthias Buelow: "Re: bdes (and other) problems on 5.3 fixit cd"
- Next in thread: Dan Nelson: "Re: malloc() debugging flags broken on RELENG_5"
- Reply: Dan Nelson: "Re: malloc() debugging flags broken on RELENG_5"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]