Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jun 1996 11:54:44 -0700 (PDT)
From:      Bruce Evans <bde>
To:        CVS-committers, cvs-all, cvs-lib
Subject:   cvs commit:  src/lib/libc/i386/sys brk.S
Message-ID:  <199606251854.LAA28537@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bde         96/06/25 11:54:43

  Modified:    lib/libc/i386/sys  brk.S
  Log:
  Fixed comparisons so that preposterously large (>= 0x80000000) brk values
  aren't silently converted to minbrk.  This stops malloc(INT_MAX) from
  dumping core.  Small values are still silently converted.  They should
  be an error.  sbrk() doesn't do any range checking or conversions or
  overflow checking.
  
  Moved PIC_EPILOGUE invocation to a more natural place where it
  obviously doesn't interfere with the comparison.
  
  Revision  Changes    Path
  1.4       +5 -5      src/lib/libc/i386/sys/brk.S



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