[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160920095322.19a75d24@xeon-e3>
Date: Tue, 20 Sep 2016 09:53:22 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Hangbin Liu <liuhangbin@...il.com>
Cc: netdev@...r.kernel.org, David Laight <David.Laight@...LAB.COM>,
Phil Sutter <phil@....cc>
Subject: Re: [PATCHv2 iproute2] ip route: check ftell, fseek return value
On Thu, 8 Sep 2016 10:26:57 +0800
Hangbin Liu <liuhangbin@...il.com> wrote:
> ftell() may return -1 in error case, which is not handled and therefore pass a
> negative offset to fseek(). The return code of fseek() is also not checked.
>
> Reported-by: Phil Sutter <phil@....cc>
> Signed-off-by: Hangbin Liu <liuhangbin@...il.com>
Applied
Powered by blists - more mailing lists