[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bash segv's when exec'd with no argv passed. (fwd)
From: |
zen-parse |
Subject: |
bash segv's when exec'd with no argv passed. (fwd) |
Date: |
Wed, 19 Feb 2003 21:05:34 +1300 (NZDT) |
Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-redhat-linux-gnu'
-DCONF_VENDOR='redhat' -DSHELL -DHAVE_CONFIG_H -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -I. -I. -I./include -I./lib -I/usr/include -O2
-march=i386 -mcpu=i686
uname output: Linux clarity 2.2.19-7.0.16 #1 Wed Mar 13 13:40:08 EST 2002 i686
unknown
Machine Type: i386-redhat-linux-gnu
Bash Version: 2.04
Patch Level: 11
Release Status: release
Description:
bash segv's when it is exec'd with no argv.
Repeat-By:
execve("/bin/bash",0,0);
or
execve("/bin/sh",0,0);
Fix:
check if(argv[0]) before checking what name it was called with.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bash segv's when exec'd with no argv passed. (fwd),
zen-parse <=