[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170818092828.74ddf749@xeon-e3>
Date: Fri, 18 Aug 2017 09:28:28 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Phil Sutter <phil@....cc>
Cc: netdev@...r.kernel.org
Subject: Re: [iproute PATCH v2 2/5] nstat: Fix for potential NULL pointer
dereference
On Thu, 17 Aug 2017 19:09:28 +0200
Phil Sutter <phil@....cc> wrote:
> If the string at 'p' contains neither space not newline, 'p' will become
> NULL. Make sure this isn't the case before dereferencing it.
>
> Signed-off-by: Phil Sutter <phil@....cc>
Why not fix the parsing code instead. Other places here call abort().
Powered by blists - more mailing lists