From owner-freebsd-questions Thu Jul 31 01:12:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA15817 for questions-outgoing; Thu, 31 Jul 1997 01:12:07 -0700 (PDT) Received: from radford.i-plus.net (root@Radford.i-Plus.net [206.99.237.6]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA15754 for ; Thu, 31 Jul 1997 01:12:04 -0700 (PDT) Received: from totally.fuckin.nutty.net (insane@totally.friggin.nutty.net [206.99.237.44]) by radford.i-plus.net (8.8.6/8.8.5) with SMTP id EAA02011; Thu, 31 Jul 1997 04:10:19 -0400 (EDT) Message-Id: <199707310810.EAA02011@radford.i-plus.net> X-Mailer: Microsoft Outlook Express 4.71.0544.0 From: "Troy Settle" To: Cc: "(ML) FreeBSD Questions" Subject: Re: poppassd Date: Thu, 31 Jul 1997 04:15:04 -0400 X-Priority: 3 X-MSMail-Priority: Normal MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-MimeOle: Produced By Microsoft MimeOLE Engine V4.71.0544.0 Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk From: andrew@ugh.net.au >On Wed, 30 Jul 1997, Troy Settle wrote: > >> The password gets changed, but there is no further response from poppassd. > >You need to get a newer version of poppasd...I beleive the one from >current works. Otherwise it may still be in the incoming directory as >poppassd-2.2.tar.gz. The poppassd in the ports collection for 2.2.anything >dosnt work. thanks, I found it in the incoming directory, and it works great. However, a thought crossed my mind while looking at the source. Isn't fgets() a potential problem for a program that's running as root? Wouldn't it be possible for an overflow on this? If so, how would I rewrite the following line to prevent buffer overflows? fgets(line, BUFSIZE, stdin); Thanks for the help, Troy Settle Network Administrator, iPlus Internet Services http://www.i-Plus.net