Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jan 2006 02:11:05 +0000 (UTC)
From:      Jason Evans <jasone@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/stdlib malloc.c
Message-ID:  <200601190211.k0J2B5Wk017484@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jasone      2006-01-19 02:11:05 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/stdlib      malloc.c 
  Log:
  Return NULL if there is an OOM error during initialization, rather than
  allowing the error to be fatal.
  
  Move a label in order to make sure to properly handle errors in malloc(0).
  
  Reported by:    Alastair D'Silva, Saneto Takanori
  
  Revision  Changes    Path
  1.96      +50 -35    src/lib/libc/stdlib/malloc.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601190211.k0J2B5Wk017484>