From owner-cvs-src-old@FreeBSD.ORG Tue May 4 04:04:53 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7C6D1106564A for ; Tue, 4 May 2010 04:04:53 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 5123F8FC1D for ; Tue, 4 May 2010 04:04:53 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o4444rcV030182 for ; Tue, 4 May 2010 04:04:53 GMT (envelope-from imp@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o4444rji030181 for cvs-src-old@freebsd.org; Tue, 4 May 2010 04:04:53 GMT (envelope-from imp@repoman.freebsd.org) Message-Id: <201005040404.o4444rji030181@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to imp@repoman.freebsd.org using -f From: Warner Losh Date: Tue, 4 May 2010 04:04:37 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/usr.sbin/config main.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2010 04:04:53 -0000 imp 2010-05-04 04:04:37 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/config main.c Log: SVN rev 207595 on 2010-05-04 04:04:37Z by imp MFC r207461: sparc64, and possibly other architectures, pads the length of the section holding the config file to sh_addralign bytes using NULs. This bogusly triggers an assert. Break out of the loop when we hit a NUL within that many bytes of the end. Revision Changes Path 1.76.2.3 +11 -7 src/usr.sbin/config/main.c