Date: Mon, 15 Mar 2004 22:23:12 +0200 From: Ruslan Ermilov <ru@freebsd.org> To: Marc Olzheim <marcolz@stack.nl> Cc: security@freebsd.org Subject: Re: bin/64150: [PATCH] ls(1) coredumps when started via execve(2) with no argv. Message-ID: <20040315202311.GB72326@ip.net.ua> In-Reply-To: <20040315122505.GA686@stack.nl> References: <20040312104914.GA52099@ip.net.ua> <20040312105730.GA99925@stud326.idi.ntnu.no> <20040312110657.GB52099@ip.net.ua> <20040312111526.GA14260@stack.nl> <20040312125820.GA8574@lum.celabo.org> <20040312154600.GC2235@ip.net.ua> <20040312110725.698ebe20@localhost> <20040312161049.GA2872@ip.net.ua> <20040312192952.GA23211@nash.epita.fr> <20040315122505.GA686@stack.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
--aM3YZ0Iwxop3KEKx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 15, 2004 at 01:25:05PM +0100, Marc Olzheim wrote: > On Fri, Mar 12, 2004 at 08:29:52PM +0100, Marc Bevand wrote: > > On 12 Mar 2004, Ruslan Ermilov wrote: > > | On Fri, Mar 12, 2004 at 11:07:25AM -0500, Tom Rhodes wrote: > > | >=20 > > | > Will it 'break' anything? > > | > > | Sure it will, the question is should we care about something that's > > | already broken. ;) > >=20 > > It will break almost all shellcodes trying to be the shorter ones > > (as they pass NULL for argv and envp). So we can view it as a small > > security improvement (just kidding). >=20 > When I tested my patches (over 2 years ago), I didn't trigger any > compilation, nor any runtime problems... >=20 You didn't try any shellcodes lurking out there, did you? ;) Cheers, --=20 Ruslan Ermilov FreeBSD committer ru@FreeBSD.org --aM3YZ0Iwxop3KEKx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAVhCvUkv4P6juNwoRAvq5AJ9a/q+dW277IHFKU/Z6CXD9RShnqgCcC+Y2 ZWwrHaPMbRL2vM96+KVYl6M= =soGK -----END PGP SIGNATURE----- --aM3YZ0Iwxop3KEKx--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040315202311.GB72326>