From: Stephen Hemminger <stephen@networkplumber.org>
To: David Kaufmann <astra@ionic.at>
Cc: netdev@vger.kernel.org
Subject: Re: lnstat
Date: Sun, 4 Mar 2018 08:58:42 -0800 [thread overview]
Message-ID: <20180304085842.2e8505e8@xeon-e3> (raw)
In-Reply-To: <20180303215602.fh6tp5na2emvmdvz@anduin>
[-- Attachment #1: Type: text/plain, Size: 780 bytes --]
On Sat, 3 Mar 2018 22:56:02 +0100
David Kaufmann <astra@ionic.at> wrote:
> Hi!
>
> `lnstat` segfaults (tested on Debian 9, CentOS 6+7, Fedora 27) if it is
> started as `lnstat -w 1`
>
> according to gdb the crash is in `build_hdr_string` at lnstat.c:212
>
> as it seems to be an useless value for the option anyway it might make
> sense to just handle a single "1" the same as if "0" was specified.
> `-w 0,1`, `-w 1,0`, `-w 1,1` and other variations do work.
Right having one character width is breaking the header building code.
Probably should just catch it in the option parsing.
>
> All the best,
> Astra
>
> PS: I did not find any other place to report this, if this is the wrong
> place please tell we where to post.
This the right place.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2018-03-04 16:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-03 21:56 lnstat David Kaufmann
2018-03-04 16:58 ` Stephen Hemminger [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180304085842.2e8505e8@xeon-e3 \
--to=stephen@networkplumber.org \
--cc=astra@ionic.at \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).