From owner-cvs-all Wed May 30 14:45:56 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 87C0137B43C; Wed, 30 May 2001 14:45:50 -0700 (PDT) (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4ULjoP37216; Wed, 30 May 2001 14:45:50 -0700 (PDT) (envelope-from imp) Message-Id: <200105302145.f4ULjoP37216@freefall.freebsd.org> From: Warner Losh Date: Wed, 30 May 2001 14:45:50 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/pccard/pccardd file.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG imp 2001/05/30 14:45:50 PDT Modified files: usr.sbin/pccard/pccardd file.c Log: From the PR: The PCCard daemon can hang indefinately while reading its configuration file. If the last line of the file is a comment line that does not end in a newline, the program goes into an infinite loop searching for the non-existent newline. This fix, provided by the PR, will allow files ending without a newline to be read without hanging. Submitted by: Crist J. Clark PR: bin/25791 Revision Changes Path 1.32 +3 -5 src/usr.sbin/pccard/pccardd/file.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message