From owner-freebsd-bugs@FreeBSD.ORG Thu Jul 29 21:40:03 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9EBF11065677 for ; Thu, 29 Jul 2010 21:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 73F688FC19 for ; Thu, 29 Jul 2010 21:40:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o6TLe3Lj040262 for ; Thu, 29 Jul 2010 21:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o6TLe3ci040261; Thu, 29 Jul 2010 21:40:03 GMT (envelope-from gnats) Date: Thu, 29 Jul 2010 21:40:03 GMT Message-Id: <201007292140.o6TLe3ci040261@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Jilles Tjoelker Cc: Subject: Re: bin/148733: a potential buffer overflow in sh(1) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jilles Tjoelker List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jul 2010 21:40:03 -0000 The following reply was made to PR bin/148733; it has been noted by GNATS. From: Jilles Tjoelker To: bug-followup@FreeBSD.org, snnn119@gmail.com Cc: Subject: Re: bin/148733: a potential buffer overflow in sh(1) Date: Thu, 29 Jul 2010 23:38:55 +0200 > [buffer overflow in sh(1) pathname generation] You are right, there is a possible heap buffer overflow here. It is rather unlikely in normal usage because the kernel does not accept pathnames longer than 1023 bytes, but still possible. -- Jilles Tjoelker