Date: Tue, 4 May 2010 03:56:25 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.sbin/config main.c Message-ID: <201005040356.o443ugre028537@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 2010-05-04 03:56:25 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
usr.sbin/config main.c
Log:
SVN rev 207593 on 2010-05-04 03:56:25Z 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 an
NUL within that many bytes of the end.
Revision Changes Path
1.81.2.4 +11 -7 src/usr.sbin/config/main.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005040356.o443ugre028537>
