Remove bad overflow check from plat/osx/libsys/brk.c
authorGeorge Koehler <xkernigh@netscape.net>
Sat, 3 Dec 2016 22:07:51 +0000 (17:07 -0500)
committerGeorge Koehler <xkernigh@netscape.net>
Sat, 3 Dec 2016 22:07:51 +0000 (17:07 -0500)
commit25e159c930d2b95371be23dfe7365545338ec51a
treefcfb5283fb9e1d38bf67032760f2fef00634836e
parente06b1fa05e0d587a1ab20256f8b8b753266135c9
Remove bad overflow check from plat/osx/libsys/brk.c

If I want to check for overflow, then I should check it before I do
base + incr, not after.

Now that I have no check, I am passing the overflowed base + incr to
brk1(), where it will probably fail the nbreak < segment check.
plat/osx/libsys/brk.c