cvs commit: src/lib/libc/stdlib malloc.c

Ken Smith kensmith at
Tue Apr 20 07:43:26 PDT 2004

kensmith    2004/04/20 07:43:26 PDT

  FreeBSD src repository

  Modified files:        (Branch: RELENG_4)
    lib/libc/stdlib      malloc.c 
  This is a partial MFC of 1.74.  From the CVS log for that:
          revision 1.74
          date: 2003/01/30 15:00:17;  author: phk;  state: Exp;  lines: +4 -0
          Catch some cases where asking for ridiculously large allocations could
          result in a segfault.  Instead just return NULL.
  Requested by:   JINMEI Tatuya <jinmei (at)> and so@
  Reviewed by:    phk (but he's not responsible if this makes 4.10 go boom :-)
  Approved by:    re (scottl)
  Revision  Changes    Path  +2 -0      src/lib/libc/stdlib/malloc.c

More information about the cvs-src mailing list