From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from artemis.ionic.at ([193.170.138.230]:53814 "EHLO mail.ionic.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752305AbeCCWED (ORCPT ); Sat, 3 Mar 2018 17:04:03 -0500 Received: from localhost (artemis.ionic.at [127.0.0.1]) by mail.ionic.at (Postfix) with ESMTP id 41653600B93 for ; Sat, 3 Mar 2018 22:56:04 +0100 (CET) Received: from mail.ionic.at ([127.0.0.1]) by localhost (artemis.ionic.at [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XCXEVL6X3Dao for ; Sat, 3 Mar 2018 22:56:03 +0100 (CET) Received: from localhost (unknown [185.194.20.42]) (using TLSv1.2 with cipher DHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mail.ionic.at (Postfix) with ESMTPSA id 9B9D6600A9C for ; Sat, 3 Mar 2018 22:56:03 +0100 (CET) Date: Sat, 3 Mar 2018 22:56:02 +0100 From: David Kaufmann To: netdev@vger.kernel.org Subject: lnstat Message-ID: <20180303215602.fh6tp5na2emvmdvz@anduin> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="gtzbra4yvsd3j2km" Content-Disposition: inline Sender: netdev-owner@vger.kernel.org List-ID: --gtzbra4yvsd3j2km Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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. 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. --gtzbra4yvsd3j2km Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEspRMGr1ZPURgFTutXL7XGyPSRQ4FAlqbGe4ACgkQXL7XGyPS RQ4Zmw/+KMazixNHzqlt2kCmNl0ke9SAnwM2Bhtjq0fV0t1+vCnOKNDo+Inj2Nz/ Ccw2gnHBs4FmMndcwqeN2SqZ+bpTzI335G8pKFp9tdPvJ/EXnAXOhFh2CTj+3xJI 31RTku5Bcgeq+VeN75QTuVOni1z7x8vzaK4IZDuG2VgkzGFjKucmiRgjaywhFYkx XS+LEp2X9jWKrsEvNe8Zw06urn8osnYklH/kCQCALvUoXMMkhrXaDN6jTsTLBCgD WJY+D6EWaM3umTGh3Cn5OZK8yNX54efM6t8Ccugu39B8/Rh8DK42XtAfE9+w4Cg+ luh5wV6iNS3QoxkwCTtLGzzSCWbXRLuDAtaK7Ye1oQIt5mspiMCgXX64fYPASrBW w284hejIrDetdU1iyAmLWW7ds7CEarwKJ7hy4/wlVXPb51qM6CUcWLIpgr52QtKh gGT5CfVxWJl6+xVG/fP0KvRUrTpnh5YozpTLErgnu/vsQT+IuQscYNHFx8AuzjSg EhoYDfLsT0xtHKVmvIlL7AyaQhYE9YPlUBP7WpWDm/58VSWJ5ACVaM9ubUbCfiVB YO7DXJp1/LgWpk6yJAjWZmlNb1gIAXebiVS/NaT4QzbEDmhzmWjtsFlf+i1eHtom RpoeszIwq6K2ud6GUfQQx8vaC/zmDZIIXXXYujx4Yw2JqZ3vAH8= =hbbs -----END PGP SIGNATURE----- --gtzbra4yvsd3j2km--