[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GnuTLS 3.0.14 gnutls-serv segfaults when an invalid number is passed
From: |
Matthew Hall |
Subject: |
Re: GnuTLS 3.0.14 gnutls-serv segfaults when an invalid number is passed to --debug |
Date: |
Sat, 25 Feb 2012 13:23:17 -0800 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Sat, Feb 25, 2012 at 11:29:44AM -0800, Bruce Korb wrote:
> On 02/24/12 18:59, Matthew Hall wrote:
> >While investigating some other bugs in GnuTLS I located this bug in the
> >--debug=99999999 option in GnuTLS 3.0.14, which is not present in 3.0.11, due
> >to some changes in the way that GnuTLS seems to handle its CLI options.
> >
> >It is possible the bug is caused by the AutoOpts library.
>
> No, it is caused by the stanza describing the debug option:
>
> flag = {
> name = debug;
> value = d;
> arg-type = number;
> arg-range = "0 -> 9999";
> descrip = "Enable debugging.";
> doc = "Specifies the debug level.";
> };
>
> If you request help ("--help" or "-h") it will tell you this,
> as will the man page.
I doubt that the intended behavior in response to an incorrect specification
of the option (said incorrect invocation worked fine in 3.0.11) is a segfault,
and Nikos already replied in agreement with this theory.
I also said that the value I passed to trigger the issue was invalid in the
subject of the thread so that it would be clear I was not trying to claim I
provided good input when I did not do so.
I hope it didn't look like I was saying the whole option did not work, but
only the error handling for bad values.
Regards,
Matthew.
- GnuTLS 3.0.14 gnutls-serv segfaults when an invalid number is passed to --debug, Matthew Hall, 2012/02/24
- Re: GnuTLS 3.0.14 gnutls-serv segfaults when an invalid number is passed to --debug, Nikos Mavrogiannopoulos, 2012/02/25
- Re: GnuTLS 3.0.14 gnutls-serv segfaults when an invalid number is passed to --debug, Bruce Korb, 2012/02/25
- Re: GnuTLS 3.0.14 gnutls-serv segfaults when an invalid number is passed to --debug,
Matthew Hall <=
- Re: GnuTLS 3.0.14 gnutls-serv segfaults when an invalid number is passed to --debug, Bruce Korb, 2012/02/25
- Re: GnuTLS 3.0.14 gnutls-serv segfaults when an invalid number is passed to --debug, Simon Josefsson, 2012/02/29
- Re: GnuTLS 3.0.14 gnutls-serv segfaults when an invalid number is passed to --debug, Matthew Hall, 2012/02/29
- Re: GnuTLS 3.0.14 gnutls-serv segfaults when an invalid number is passed to --debug, Simon Josefsson, 2012/02/29
- Re: GnuTLS 3.0.14 gnutls-serv segfaults when an invalid number is passed to --debug, Matthew Hall, 2012/02/29
- Re: GnuTLS 3.0.14 gnutls-serv segfaults when an invalid number is passed to --debug, Bruce Korb, 2012/02/29
- Re: GnuTLS 3.0.14 gnutls-serv segfaults when an invalid number is passed to --debug, Nikos Mavrogiannopoulos, 2012/02/29
- Re: GnuTLS 3.0.14 gnutls-serv segfaults when an invalid number is passed to --debug, Simon Josefsson, 2012/02/29