Date: Thu, 22 Feb 2001 05:13:02 -0800 From: Alfred Perlstein <bright@wintelcom.net> To: Madhavi Suram <madhavis@sasken.com> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: warning in free(): Message-ID: <20010222051302.E29126@fw.wintelcom.net> In-Reply-To: <Pine.LNX.4.21.0102221827150.4014-100000@pcs111.sasi.com>; from madhavis@sasken.com on Thu, Feb 22, 2001 at 06:38:32PM %2B0530 References: <Pine.LNX.4.21.0102221827150.4014-100000@pcs111.sasi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
* Madhavi Suram <madhavis@sasken.com> [010222 05:09] wrote: > > Hi > > I am running a C program in user space on FreeBSD 3.3 release. I got a > warning like this: > > testing in free(): warning: modified (chunk-) pointer. > > testing is the name of the executable I am running. > > Could anyone tell me what this warning means? What may be the effect of > this code when I shift it to kernel with due modifications? It means you've most likely corrupted your malloc pool, meaning you've written past/before the edge of an allocation you've done. To fix it start being mor careful with pointers and checking array bounds. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010222051302.E29126>