Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jun 2000 08:00:02 -0700 (PDT)
From:      Marc Olzheim <marcolz@stack.nl>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/19422: users can overflow argv to make ps segfault
Message-ID:  <200006221500.IAA03914@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/19422; it has been noted by GNATS.

From: Marc Olzheim <marcolz@stack.nl>
To: freebsd-gnats-submit@FreeBSD.org, marcolz@stack.nl
Cc:  
Subject: Re: bin/19422: users can overflow argv to make ps segfault
Date: Thu, 22 Jun 2000 16:58:12 +0200

 I must've been sleeping...
 A better patch would be:
 
 strvisx(dst, src, arg_max - (dst - buf) - 1, VIS_NL | VIS_CSTYLE);
 
 Btw. This is also the case with FreeBSD 4.0.
 
 Marc
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006221500.IAA03914>