summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/calloc.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-12-17 21:21:47 +0000
committerbrian <brian@FreeBSD.org>1997-12-17 21:21:47 +0000
commitb8bde84af7f83ae81e7154305167a8b3a1cb4a79 (patch)
tree09330806d10ccbbc5fc2ef85b7390a877f984536 /lib/libc/stdlib/calloc.c
parent4f380fde8de0efa16879edc20885396f3a7433e9 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud