In message <[EMAIL PROTECTED]>, Madhavi S
uram writes:
>
>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 that you do something like this:
...
p = malloc(n); /* N <=2048 */
p += m;
free(p);
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message