[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170821173558.1af30731@xeon-e3>
Date: Mon, 21 Aug 2017 17:35:58 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Phil Sutter <phil@....cc>
Cc: netdev@...r.kernel.org
Subject: Re: [iproute PATCH v2] lib/bpf: Don't leak fp in bpf_find_mntpt()
On Mon, 21 Aug 2017 16:46:51 +0200
Phil Sutter <phil@....cc> wrote:
> If fopen() succeeded but len != PATH_MAX, the function leaks the open
> FILE pointer. Fix this by checking len value before calling fopen().
>
> Signed-off-by: Phil Sutter <phil@....cc>
> Acked-by: Daniel Borkmann <daniel@...earbox.net>
Thanks, Applied
Powered by blists - more mailing lists