bin/79048: realloc() copies data even when the size of
allocated memory decrease
Poul-Henning Kamp
phk at phk.freebsd.dk
Thu Mar 24 11:20:30 PST 2005
In message <200503231238.j2NCccug050911 at freefall.freebsd.org>, Gleb Smirnoff wr
ites:
>Synopsis: realloc() copies data even when the size of allocated memory decrease
>
>Responsible-Changed-From-To: freebsd-bugs->phk
>Responsible-Changed-By: glebius
>Responsible-Changed-When: Wed Mar 23 12:37:45 GMT 2005
>Responsible-Changed-Why:
>Poul-Henning is the right person to handle this.
This is by design, read the paper.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the freebsd-bugs
mailing list