* [Bug libc/2016] argp --help infloop, via ARGP_HELP_FMT envvar
2005-12-09 18:23 [Bug libc/2016] New: argp --help infloop, via ARGP_HELP_FMT envvar list+redhat-bugzilla at meyering dot net
@ 2005-12-12 19:10 ` decimal at us dot ibm dot com
2005-12-12 19:46 ` jim at meyering dot net
` (13 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: decimal at us dot ibm dot com @ 2005-12-12 19:10 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From decimal at us dot ibm dot com 2005-12-12 19:10 -------
Do you have a simple testcase handy?
--
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.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libc/2016] argp --help infloop, via ARGP_HELP_FMT envvar
2005-12-09 18:23 [Bug libc/2016] New: argp --help infloop, via ARGP_HELP_FMT envvar list+redhat-bugzilla at meyering dot net
2005-12-12 19:10 ` [Bug libc/2016] " decimal at us dot ibm dot com
@ 2005-12-12 19:46 ` jim at meyering dot net
2005-12-12 20:24 ` jim at meyering dot net
` (12 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: jim at meyering dot net @ 2005-12-12 19:46 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From jim at meyering dot net 2005-12-12 19:46 -------
Subject: Re: argp --help infloop, via ARGP_HELP_FMT envvar
"decimal at us dot ibm dot com" <sourceware-bugzilla@sourceware.org> wrote:
> Do you have a simple testcase handy?
No.
FYI, there's already a fix in gnulib:
http://lists.gnu.org/archive/html/bug-gnulib/2005-12/msg00042.html
--
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.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libc/2016] argp --help infloop, via ARGP_HELP_FMT envvar
2005-12-09 18:23 [Bug libc/2016] New: argp --help infloop, via ARGP_HELP_FMT envvar list+redhat-bugzilla at meyering dot net
2005-12-12 19:10 ` [Bug libc/2016] " decimal at us dot ibm dot com
2005-12-12 19:46 ` jim at meyering dot net
@ 2005-12-12 20:24 ` jim at meyering dot net
2005-12-12 20:44 ` decimal at us dot ibm dot com
` (11 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: jim at meyering dot net @ 2005-12-12 20:24 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From jim at meyering dot net 2005-12-12 20:24 -------
Subject: Re: argp --help infloop, via ARGP_HELP_FMT envvar
"decimal at us dot ibm dot com" <sourceware-bugzilla@sourceware.org> wrote:
> Do you have a simple testcase handy?
If you need a simple testcase, one of the four in
the glibc manual should do nicely.
--
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.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libc/2016] argp --help infloop, via ARGP_HELP_FMT envvar
2005-12-09 18:23 [Bug libc/2016] New: argp --help infloop, via ARGP_HELP_FMT envvar list+redhat-bugzilla at meyering dot net
` (2 preceding siblings ...)
2005-12-12 20:24 ` jim at meyering dot net
@ 2005-12-12 20:44 ` decimal at us dot ibm dot com
2005-12-12 20:47 ` decimal at us dot ibm dot com
` (10 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: decimal at us dot ibm dot com @ 2005-12-12 20:44 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From decimal at us dot ibm dot com 2005-12-12 20:44 -------
I was able to reproduce.
--
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.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libc/2016] argp --help infloop, via ARGP_HELP_FMT envvar
2005-12-09 18:23 [Bug libc/2016] New: argp --help infloop, via ARGP_HELP_FMT envvar list+redhat-bugzilla at meyering dot net
` (3 preceding siblings ...)
2005-12-12 20:44 ` decimal at us dot ibm dot com
@ 2005-12-12 20:47 ` decimal at us dot ibm dot com
2005-12-13 19:20 ` decimal at us dot ibm dot com
` (9 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: decimal at us dot ibm dot com @ 2005-12-12 20:47 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From decimal at us dot ibm dot com 2005-12-12 20:47 -------
Created an attachment (id=799)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=799&action=view)
A Minimal Program Using Argp
To reproduce the problem use
gcc -o glibc-2016-test glibc-2016-test.c
ARGP_HELP_FMT=rmargin=2 ./glibc-2016-test --help
--
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.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libc/2016] argp --help infloop, via ARGP_HELP_FMT envvar
2005-12-09 18:23 [Bug libc/2016] New: argp --help infloop, via ARGP_HELP_FMT envvar list+redhat-bugzilla at meyering dot net
` (4 preceding siblings ...)
2005-12-12 20:47 ` decimal at us dot ibm dot com
@ 2005-12-13 19:20 ` decimal at us dot ibm dot com
2005-12-14 20:52 ` decimal at us dot ibm dot com
` (8 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: decimal at us dot ibm dot com @ 2005-12-13 19:20 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From decimal at us dot ibm dot com 2005-12-13 19:20 -------
Created an attachment (id=801)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=801&action=view)
Patch from gnulib to resolve this issue.
This patch was taken from
http://lists.gnu.org/archive/html/bug-gnulib/2005-12/msg00042.html
and resolves the problem. I have tested on ppc64 and ppc.
--
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.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libc/2016] argp --help infloop, via ARGP_HELP_FMT envvar
2005-12-09 18:23 [Bug libc/2016] New: argp --help infloop, via ARGP_HELP_FMT envvar list+redhat-bugzilla at meyering dot net
` (5 preceding siblings ...)
2005-12-13 19:20 ` decimal at us dot ibm dot com
@ 2005-12-14 20:52 ` decimal at us dot ibm dot com
2005-12-16 22:22 ` decimal at us dot ibm dot com
` (7 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: decimal at us dot ibm dot com @ 2005-12-14 20:52 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From decimal at us dot ibm dot com 2005-12-14 20:52 -------
Sent a note to the gnulib argp maintainer to verify that copyright assignment
has already happened for this fix.
--
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.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libc/2016] argp --help infloop, via ARGP_HELP_FMT envvar
2005-12-09 18:23 [Bug libc/2016] New: argp --help infloop, via ARGP_HELP_FMT envvar list+redhat-bugzilla at meyering dot net
` (6 preceding siblings ...)
2005-12-14 20:52 ` decimal at us dot ibm dot com
@ 2005-12-16 22:22 ` decimal at us dot ibm dot com
2005-12-22 1:08 ` roland at gnu dot org
` (6 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: decimal at us dot ibm dot com @ 2005-12-16 22:22 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From decimal at us dot ibm dot com 2005-12-16 22:22 -------
It seems the copyright assignment is in progress with the FSF.
The gnulib argp maintainer is interested in seeing other fixes get into glibc.
Not sure if there is any interest on the glibc end. Perhaps there is a policy to
only take fixes reported by users? or perhaps the goal would be to track gnulib
more closely if the resources were available to do it?
--
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.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libc/2016] argp --help infloop, via ARGP_HELP_FMT envvar
2005-12-09 18:23 [Bug libc/2016] New: argp --help infloop, via ARGP_HELP_FMT envvar list+redhat-bugzilla at meyering dot net
` (7 preceding siblings ...)
2005-12-16 22:22 ` decimal at us dot ibm dot com
@ 2005-12-22 1:08 ` roland at gnu dot org
2006-02-09 21:20 ` decimal at us dot ibm dot com
` (5 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: roland at gnu dot org @ 2005-12-22 1:08 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From roland at gnu dot org 2005-12-22 01:08 -------
The policy wrt gnulib copies of glibc code is that glibc's trunk is the master
source and gnulib maintainers have previously agreed to submit fixes to glibc
piecemeal as they come up, so as to keep the code in synch. gnulib maintainers
can contact me to expedite any languishing gnulib patches, and they should
already be aware of this. Anyone doing glibc bugzilla triage can identify
patches from gnulib maintainers and assign those bugs to me.
For future reference, a case like this does not need a small test case program
supplied. It is sufficient if a command line using locale or suchlike is a good
test case.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|drepper at redhat dot com |roland at gnu dot org
Status|NEW |ASSIGNED
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.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libc/2016] argp --help infloop, via ARGP_HELP_FMT envvar
2005-12-09 18:23 [Bug libc/2016] New: argp --help infloop, via ARGP_HELP_FMT envvar list+redhat-bugzilla at meyering dot net
` (8 preceding siblings ...)
2005-12-22 1:08 ` roland at gnu dot org
@ 2006-02-09 21:20 ` decimal at us dot ibm dot com
2007-09-24 3:19 ` drepper at redhat dot com
` (4 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: decimal at us dot ibm dot com @ 2006-02-09 21:20 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From decimal at us dot ibm dot com 2006-02-09 21:20 -------
Thanks for the info. The maintainer informed me that this was committed to gnulib.
--
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.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libc/2016] argp --help infloop, via ARGP_HELP_FMT envvar
2005-12-09 18:23 [Bug libc/2016] New: argp --help infloop, via ARGP_HELP_FMT envvar list+redhat-bugzilla at meyering dot net
` (9 preceding siblings ...)
2006-02-09 21:20 ` decimal at us dot ibm dot com
@ 2007-09-24 3:19 ` drepper at redhat dot com
2010-06-01 3:29 ` pasky at suse dot cz
` (3 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: drepper at redhat dot com @ 2007-09-24 3:19 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From drepper at redhat dot com 2007-09-24 03:19 -------
The attached patch does not only not apply, even after fixing it up it doesn't
solve the problem. Either it never worked or the gnulib version is sufficiently
different. Please provide a correct patch.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |WAITING
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.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libc/2016] argp --help infloop, via ARGP_HELP_FMT envvar
2005-12-09 18:23 [Bug libc/2016] New: argp --help infloop, via ARGP_HELP_FMT envvar list+redhat-bugzilla at meyering dot net
` (10 preceding siblings ...)
2007-09-24 3:19 ` drepper at redhat dot com
@ 2010-06-01 3:29 ` pasky at suse dot cz
2010-06-01 5:40 ` jim at meyering dot net
` (2 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: pasky at suse dot cz @ 2010-06-01 3:29 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From pasky at suse dot cz 2010-06-01 03:29 -------
no response
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
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.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libc/2016] argp --help infloop, via ARGP_HELP_FMT envvar
2005-12-09 18:23 [Bug libc/2016] New: argp --help infloop, via ARGP_HELP_FMT envvar list+redhat-bugzilla at meyering dot net
` (11 preceding siblings ...)
2010-06-01 3:29 ` pasky at suse dot cz
@ 2010-06-01 5:40 ` jim at meyering dot net
2010-06-01 10:17 ` jim at meyering dot net
2010-06-01 17:51 ` jim at meyering dot net
14 siblings, 0 replies; 16+ messages in thread
From: jim at meyering dot net @ 2010-06-01 5:40 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From jim at meyering dot net 2010-06-01 05:40 -------
This bug report is still valid and the bug afflicts rawhide's
glibc-2.12.90-1.x86_64. Running this example from the manual still infloops:
$ cat k.c; gcc k.c; ARGP_HELP_FMT=rmargin=2 ./a.out --help > /dev/null
#include <argp.h>
int main (int argc, char **argv)
{
argp_parse (0, argc, argv, 0, 0, 0);
return 0;
}
^C
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |
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.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libc/2016] argp --help infloop, via ARGP_HELP_FMT envvar
2005-12-09 18:23 [Bug libc/2016] New: argp --help infloop, via ARGP_HELP_FMT envvar list+redhat-bugzilla at meyering dot net
` (12 preceding siblings ...)
2010-06-01 5:40 ` jim at meyering dot net
@ 2010-06-01 10:17 ` jim at meyering dot net
2010-06-01 17:51 ` jim at meyering dot net
14 siblings, 0 replies; 16+ messages in thread
From: jim at meyering dot net @ 2010-06-01 10:17 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From jim at meyering dot net 2010-06-01 10:17 -------
FYI, the referenced patch ensures that the new function, validate_uparams, is
used to reject invalid parameters. Rerunning my example, built against the
version in gnulib produces this:
a.out: ARGP_HELP_FMT: rmargin value is less than or equal to short-opt-col
--
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.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libc/2016] argp --help infloop, via ARGP_HELP_FMT envvar
2005-12-09 18:23 [Bug libc/2016] New: argp --help infloop, via ARGP_HELP_FMT envvar list+redhat-bugzilla at meyering dot net
` (13 preceding siblings ...)
2010-06-01 10:17 ` jim at meyering dot net
@ 2010-06-01 17:51 ` jim at meyering dot net
14 siblings, 0 replies; 16+ messages in thread
From: jim at meyering dot net @ 2010-06-01 17:51 UTC (permalink / raw)
To: glibc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Version|2.3.6 |2.12
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.
^ permalink raw reply [flat|nested] 16+ messages in thread