Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2002 21:49:17 +0100
From:      Michael Bretterklieber <mbretter@inode.at>
To:        freebsd-net@freebsd.org
Subject:   libradius problem
Message-ID:  <3DD40C4D.3040101@inode.at>

next in thread | raw e-mail | index | archive | help
Hi,

I found a problem in libradius.

The structure-member req_len is in rad_auth_open() not initialized with 0.

I'm writing a php-module for this lib and I found that this value was 
not zero after rad_auth_open() and therfore I got "Maximum message 
length exceeded" calling rad_put_string() the first time.

Maybe its better to initialize this with 0.

bye,

-- 
------------------------------- ----------------------------------
Michael Bretterklieber        - Michael.Bretterklieber@jawa.at   
JAWA Management Software GmbH - http://www.jawa.at
Liebenauer Hauptstr. 200        -------------- privat ------------
A-8041 GRAZ                     GSM: ++43-(0)676-93 96 698       
Tel: ++43-(0)316-403274-12      E-mail:   mbretter@inode.at
Fax: ++43-(0)316-403274-10      http://www.inode.at/mbretter
------------------------------- ----------------------------------
"...the number of UNIX installations has grown to 10, with more 
expected..." - Dennis Ritchie and Ken Thompson, June 1972



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DD40C4D.3040101>