From owner-cvs-src@FreeBSD.ORG Mon Jun 16 13:48:57 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 164E137B401; Mon, 16 Jun 2003 13:48:57 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4CE843FA3; Mon, 16 Jun 2003 13:48:56 -0700 (PDT) (envelope-from iedowse@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h5GKmu0U044588; Mon, 16 Jun 2003 13:48:56 -0700 (PDT) (envelope-from iedowse@repoman.freebsd.org) Received: (from iedowse@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h5GKmuPa044587; Mon, 16 Jun 2003 13:48:56 -0700 (PDT) Message-Id: <200306162048.h5GKmuPa044587@repoman.freebsd.org> From: Ian Dowse Date: Mon, 16 Jun 2003 13:48:56 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/boot/i386/libi386 pxe.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jun 2003 20:48:57 -0000 iedowse 2003/06/16 13:48:56 PDT FreeBSD src repository Modified files: sys/boot/i386/libi386 pxe.c Log: When looking for the ':' separator in the root path, don't go past the terminating '\0'. Since the initialisation of rootpath in libstand/bootp.c may copy junk into the rest of the buffer, it was possible for the code to find a ':' after the '\0' and do the wrong thing. Reviewed by: ps MFC after: 1 week Revision Changes Path 1.19 +3 -3 src/sys/boot/i386/libi386/pxe.c