Date: Sat, 25 Jan 1997 23:57:06 -0500 (EST) From: cgull@ick.owl.org To: FreeBSD-gnats-submit@freebsd.org Cc: cgull@owl.org Subject: bin/2591: sh has problems with argv length Message-ID: <199701260457.XAA00271@ick.owl.org> Resent-Message-ID: <199701260500.VAA16457@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 2591 >Category: bin >Synopsis: sh coredumps when passing an argv of a certain length >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jan 25 21:00:01 PST 1997 >Last-Modified: >Originator: cgull@smoke.marlboro.vt.us >Organization: none >Release: FreeBSD 3.0-970118-SNAP i386 >Environment: root or user login, default dotfiles distributed with 3.0 >Description: /bin/sh coredumps when asked to pass a large argv. A trace also shows sh attempting to stat an envar list. (see ftp://smoke.marlboro.vt.us/pub/cgull/testgoo/sh-trace) This may be related to exec'ing shellscripts. >How-To-Repeat: $ zgrep ALLMULTI /usr/man/man1/* $ zgrep ALLMULTI /usr/man/man?/* [core dump] or to get a duplicate of my argv, $ fetch ftp://smoke.marlboro.vt.us/pub/cgull/testgoo/arglist $ zgrep `cat arglist` [core dump] >Fix: unknown >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701260457.XAA00271>