This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/2016] New: argp --help infloop, via ARGP_HELP_FMT envvar
- From: "list+redhat-bugzilla at meyering dot net" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 9 Dec 2005 18:23:35 -0000
- Subject: [Bug libc/2016] New: argp --help infloop, via ARGP_HELP_FMT envvar
- Reply-to: sourceware-bugzilla at sourceware dot org
You can make any argp-using program infloop simply by running it
with --help and with something like ARGP_HELP_FMT=rmargin=a in the
environment. Or use a valid (but small) width: ARGP_HELP_FMT=rmargin=2
$ time ARGP_HELP_FMT=rmargin=2 tar --help > /dev/null
ARGP_HELP_FMT=rmargin=2 tar --help > /dev/null 35.49s user 0.17s system 97% cp
u 36.648 total
[Exit 130 (INT)]
--
Summary: argp --help infloop, via ARGP_HELP_FMT envvar
Product: glibc
Version: 2.3.6
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: list+redhat-bugzilla at meyering dot net
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=2016
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.