fix twos complement overflow bug in mem streams boundary check
authorRich Felker <dalias@aerifal.cx>
Sun, 4 Sep 2011 04:06:01 +0000 (00:06 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 4 Sep 2011 04:06:01 +0000 (00:06 -0400)
the expression -off is not safe in case off is the most-negative
value. instead apply - to base which is known to be non-negative and
bounded within sanity.


No differences found