Date: Wed, 19 Nov 2003 09:00:01 +0500 From: Boris Kovalenko <boris@tagnet.ru> To: brian@Awfulhak.org, freebsd-stable <freebsd-stable@freebsd.org>, freebsd-current <freebsd-current@freebsd.org> Subject: ppp RADIUS accounting bug Message-ID: <3FBAEAC1.7090709@tagnet.ru>
next in thread | raw e-mail | index | archive | help
Hello! I found a serious bug in RADIUS accounting code. The problem is that OctetsIn and OctetsOut are defined as unsingned long long, but the RADIUS supports only INT32 values, so, when we're doing rad_put_int(r->cx.rad, RAD_ACCT_OUTPUT_OCTETS, stats->OctetsOut) in radius.c for OctetsOut (and OctetsIn also) we loosing information if OctetsOut is greater then INT32_MAX. This should be fixed. Regards, Boris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FBAEAC1.7090709>