Conrad T. Pino wrote:

>Function call "realloc( 0, 0 )" returns a pointer.
>  
>

Then you should be okay, though a few additional tests may be in order
just to be sure (does the pointer look like it is from the same general
data space as a pointer returned from malloc(1) in the same program? 
can you write a single byte to it without memory protection catching a
fault?  Can you free it without a fault?)

Regards,

Derek

-- 
Derek R. Price
CVS Solutions Architect
Ximbiot <http://ximbiot.com>
v: +1 717.579.6168
f: +1 717.234.3125
<mailto:[EMAIL PROTECTED]>




_______________________________________________
Bug-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/bug-cvs

Reply via email to