diff options
author | brian <brian@FreeBSD.org> | 1997-12-17 21:21:47 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-12-17 21:21:47 +0000 |
commit | b8bde84af7f83ae81e7154305167a8b3a1cb4a79 (patch) | |
tree | 09330806d10ccbbc5fc2ef85b7390a877f984536 /lib/libc/stdlib/calloc.c | |
parent | 4f380fde8de0efa16879edc20885396f3a7433e9 (diff) | |
download | FreeBSD-src-b8bde84af7f83ae81e7154305167a8b3a1cb4a79.zip FreeBSD-src-b8bde84af7f83ae81e7154305167a8b3a1cb4a79.tar.gz |
If we've got a descriptor table that's bigger than an
fd_set, make sure that all descriptors >2 are closed
when we start - otherwise we're asking for a dump in
FD_SET().
Problem pointed out by: Theo de Raadt <deraadt@cvs.openbsd.org>
Diffstat (limited to 'lib/libc/stdlib/calloc.c')
0 files changed, 0 insertions, 0 deletions