Date: Wed, 24 Feb 2010 22:37:43 +0300 From: Andrey Zonov <andrey.zonov@gmail.com> To: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= <des@des.no> Cc: freebsd-hackers@freebsd.org Subject: Re: 2 bytes allocated problems Message-ID: <4B858007.1000008@gmail.com> In-Reply-To: <86eikar7gv.fsf@ds4.des.no> References: <983a1cf21002240544s59006035ifbf0ef7eb045e44f@mail.gmail.com> <86eikar7gv.fsf@ds4.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
And how free() finds that the need to release? Dag-Erling Smørgrav пишет: > Andrey Zonov <andrey.zonov@gmail.com> writes: > >> When I try allocated pointer to a pointer, and in it some pointers >> (important: size is 2 bytes), the pointers lose their boundaries. >> > > Pointers have no boundareis in C. > > >> PS in freebsd < 7, it's ok, in Linux too. >> > > Only by accident. > > DES >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B858007.1000008>