Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 2004 07:43:26 -0700 (PDT)
From:      Ken Smith <kensmith@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:  <200404201443.i3KEhQxP095981@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kensmith    2004/04/20 07:43:26 PDT

  FreeBSD src repository

  Modified files:        (Branch: RELENG_4)
    lib/libc/stdlib      malloc.c 
  Log:
  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) isl.rdc.toshiba.co.jp> and so@
  Reviewed by:    phk (but he's not responsible if this makes 4.10 go boom :-)
  Approved by:    re (scottl)
  
  Revision  Changes    Path
  1.49.2.5  +2 -0      src/lib/libc/stdlib/malloc.c



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