NetBSD Problem Report #22525

Received: (qmail 28202 invoked by uid 605); 18 Aug 2003 06:03:46 -0000
Message-Id: <20030818050535.A0EF6793@starfruit.itojun.org>
Date: Mon, 18 Aug 2003 14:05:35 +0900 (JST)
From: itojun@itojun.org
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: itojun@itojun.org
To: gnats-bugs@gnats.netbsd.org
Subject: rpc library/NIS code does not handle fd > FD_SETSIZE
X-Send-Pr-Version: 3.95

>Number:         22525
>Category:       lib
>Synopsis:       rpc library/NIS code does not handle fd > FD_SETSIZE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 18 06:04:00 +0000 2003
>Closed-Date:    Tue Nov 24 22:30:49 +0000 2015
>Last-Modified:  Tue Nov 24 22:30:49 +0000 2015
>Originator:     Jun-ichiro itojun Hagino
>Release:        NetBSD 1.6W
>Organization:
	itojun.org
>Environment:
System: NetBSD starfruit.itojun.org 1.6W NetBSD 1.6W (STARFRUIT) #269: Mon Aug 18 13:20:50 JST 2003 itojun@starfruit.itojun.org:/home/itojun/NetBSD/src/sys/arch/i386/compile/STARFRUIT i386
Architecture: i386
Machine: i386
>Description:
	libc RPC logic does not handle file descriptors larger than FD_SETSIZE.
	for instance, lib/libc/rpc/svc.c:xprt_register() silently ignores
	sock > FD_SETSIZE.  other functions behave like so.
	the problem exists in NIS and other RPC userland code (outside of
	library) as well, as fd_set manipulation is exposed as API.
>How-To-Repeat:
	code inspection
>Fix:
	it would be difficult as fd_set manipulation is exposed as API
	(such as svc_fdset in /usr/include/rpc/svc.h).
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: christos@NetBSD.org
State-Changed-When: Tue, 24 Nov 2015 17:30:49 -0500
State-Changed-Why:
fixed.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.