2 bytes allocated problems

Andrey Zonov andrey.zonov at gmail.com
Wed Feb 24 19:37:57 UTC 2010


And how free() finds that the need to release?

Dag-Erling Smørgrav пишет:
> Andrey Zonov <andrey.zonov at 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
>   


More information about the freebsd-hackers mailing list