malloc(0) returns an invalid address

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Wed Dec 1 21:59:50 PST 2004


On Thu, 2004-12-02 at 00:56, Brandon S. Allbery KF8NH wrote:
> With a size of 0 it's easy to cheat:  return a "magic" minimal-sized

Correction (what I get for shooting off my mouth at 1am...): 
"minimal-sized" is meaningless in this context.

-- 
brandon s. allbery    [linux,solaris,freebsd,perl]     allbery at kf8nh.com
system administrator      [WAY too many hats]        allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon univ.         KF8NH



More information about the freebsd-current mailing list