Date: Mon, 23 Dec 2002 03:10:05 -0800 (PST) From: Maxim Konovalov <maxim@macomnet.ru> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/46489: error parsing usbd.conf by usbd Message-ID: <200212231110.gBNBA52d077344@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/46489; it has been noted by GNATS. From: Maxim Konovalov <maxim@macomnet.ru> To: "Vladimir B.Grebenschikov" <vova@sw.ru> Cc: bug-followup@freebsd.org Subject: Re: bin/46489: error parsing usbd.conf by usbd Date: Mon, 23 Dec 2002 14:03:00 +0300 (MSK) Please try a patch below. Index: usbd.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/usbd/usbd.c,v retrieving revision 1.24 diff -u -r1.24 usbd.c --- usbd.c 22 Apr 2002 13:44:47 -0000 1.24 +++ usbd.c 23 Dec 2002 10:58:04 -0000 @@ -448,7 +448,7 @@ } /* skip initial spaces */ - while (*line != '\0' && isspace(*line)) { + while (len > 0 && isspace(*line)) { line++; len--; } %%% -- Maxim Konovalov, MAcomnet, Internet Dept., system engineer phone: +7 (095) 796-9079, mailto:maxim@macomnet.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212231110.gBNBA52d077344>