Realloc() considered unsafe (was Re: Safe coding practices)

David Wolverton daw at cbnewsh.att.com
Sat Jan 26 05:08:32 AEST 1991


In article <22311:Jan2502:34:1191 at kramden.acf.nyu.edu>, brnstnd at kramden.acf.nyu.edu (Dan Bernstein) writes:
> [ lots deleted ]
> Now you can talk all you want about reallocating memory (btw, there's no
                                                                ^^^^^^^^^^
> safe way to use realloc(), but you knew that) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^

OK, I'll bite.  I didn't know that.  So, what is the problem
with realloc()?

Dave Wolverton
daw at attunix.att.com



More information about the Comp.lang.c mailing list