Date: Sat, 1 May 2010 07:25:28 +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: <201005010725.o417PeLv051644@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 2010-05-01 07:25:28 UTC FreeBSD src repository Modified files: usr.sbin/config main.c Log: SVN rev 207461 on 2010-05-01 07:25:28Z by imp 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. MFC after: 3 days Revision Changes Path 1.84 +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?201005010725.o417PeLv051644>