2 bytes allocated problems

Andrey Zonov andrey.zonov at gmail.com
Wed Feb 24 14:12:57 UTC 2010


Hi,

When I try allocated pointer to a pointer, and in it some pointers
(important: size is 2 bytes), the pointers lose their boundaries.
Why it can happen?

Test program in attach.

PS in freebsd < 7, it's ok, in Linux too.

-- 
Andrey Zonov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alloc.c
Type: application/octet-stream
Size: 535 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20100224/1c9eb59b/alloc.obj


More information about the freebsd-hackers mailing list