diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2002-08-09 21:33:29 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2002-08-09 21:33:29 +0000 |
commit | 659e70628ec5090df32224eac99b5d635179d142 (patch) | |
tree | a56c74ff8ac734340451f7a94d5d108c5a453dbf /winsup/cygwin/assert.cc | |
parent | 037240a242b404e18308dd1a60937a5868bed702 (diff) | |
download | cygnal-659e70628ec5090df32224eac99b5d635179d142.tar.gz cygnal-659e70628ec5090df32224eac99b5d635179d142.tar.bz2 cygnal-659e70628ec5090df32224eac99b5d635179d142.zip |
2002-08-09 Jason Tishler <jason@tishler.net>
* libc/stdlib/mallocr.c: Include <limits.h>.
(request2size): Change macro to do
unsigned long comparisons and avoid signed overflow.
(mALLOc): Add overflow check for the number of bytes to allocate.
(rEALLOc): Ditto.
Diffstat (limited to 'winsup/cygwin/assert.cc')
0 files changed, 0 insertions, 0 deletions