NetBSD Problem Report #37055
From fukumoto@imasy.or.jp Tue Oct 2 16:24:50 2007
Return-Path: <fukumoto@imasy.or.jp>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 71A5863B97E
for <gnats-bugs@gnats.NetBSD.org>; Tue, 2 Oct 2007 16:24:50 +0000 (UTC)
Message-Id: <20071002162448.2869E4F389@kestrel.imasy.or.jp>
Date: Wed, 3 Oct 2007 01:24:48 +0900 (JST)
From: fukumoto@imasy.or.jp
Reply-To: fukumoto@imasy.or.jp
To: gnats-bugs@NetBSD.org
Subject: libradius: rad_create_request(3) does not clear authentic_pos
X-Send-Pr-Version: 3.95
>Number: 37055
>Category: lib
>Synopsis: libradius: rad_create_request(3) does not clear authentic_pos
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Oct 02 16:25:00 +0000 2007
>Originator: fukumoto@imasy.or.jp
>Release: NetBSD 4.0_BETA2
>Organization:
>Environment:
System: NetBSD kestrel 4.0_BETA2 NetBSD 4.0_BETA2 (GENERIC.MP) #4: Sat Mar 31 04:34:08 JST 2007 fukumoto@kestrel:/usr/src.netbsd4/sys/arch/i386/compile/GENERIC.MP i386
Architecture: i386
Machine: i386
>Description:
rad_create_request(3) does not clear h->authentic_pos. It is unable to
create requests for multiple times with same rad_handle.
>How-To-Repeat:
>Fix:
--- radlib.c.old 2006-11-10 02:02:52.000000000 +0900
+++ radlib.c 2007-10-03 01:05:28.000000000 +0900
@@ -642,6 +642,7 @@
}
h->req_len = POS_ATTRS;
clear_password(h);
+ h->authentic_pos = 0;
h->request_created = 1;
return 0;
}
(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.