[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
'compgen -W' may exhaust memory[50 character or so descriptive subject h
From: |
Kuang-che Wu |
Subject: |
'compgen -W' may exhaust memory[50 character or so descriptive subject here (for reference)] |
Date: |
Tue, 12 Feb 2002 05:13:11 +0800 (CST) |
Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: freebsd5.0
Compiler: cc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386'
-DCONF_OSTYPE='freebsd5.0' -DCONF_MACHTYPE='i386-unknown-freebsd5.0'
-DCONF_VENDOR='unknown' -DSHELL -DHAVE_CONFIG_H -I. -I/usr/local/include -I.
-I./include -I./lib -O -pipe
uname output: FreeBSD m722 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Sun Feb 3
14:44:15 CST 2002 root@m722:/usr/src/sys/i386/compile/M722 i386
Machine Type: i386-unknown-freebsd5.0
Bash Version: 2.05a
Patch Level: 0
Release Status: release
Description:
If the argument of 'compgen -W' contains '\n', bash will
exhaust memory.
Repeat-By:
$ compgen -W 'a\nb' a
which \n means newline
Fix:
[Description of how to fix the problem. If you don't know a
fix for the problem, don't include this section.]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- 'compgen -W' may exhaust memory[50 character or so descriptive subject here (for reference)],
Kuang-che Wu <=