bin/64150: [PATCH] ls(1) coredumps when started via execve(2) with no argv.

Ruslan Ermilov ru at freebsd.org
Mon Mar 15 12:23:15 PST 2004


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:
> > | > 
> > | > Will it 'break' anything?
> > |
> > | Sure it will, the question is should we care about something that's
> > | already broken.  ;)
> > 
> > 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).
> 
> When I tested my patches (over 2 years ago), I didn't trigger any
> compilation, nor any runtime problems...
> 
You didn't try any shellcodes lurking out there, did you?  ;)


Cheers,
-- 
Ruslan Ermilov
FreeBSD committer
ru at FreeBSD.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-security/attachments/20040315/ca6b5ee2/attachment.bin


More information about the freebsd-security mailing list