[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190405200929.GV32613@kadam>
Date: Fri, 5 Apr 2019 23:09:29 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Cong Wang <xiyou.wangcong@...il.com>
Cc: Linux Kernel Network Developers <netdev@...r.kernel.org>,
linux-bluetooth <linux-bluetooth@...r.kernel.org>,
Marcel Holtmann <marcel@...tmann.org>,
Johan Hedberg <johan.hedberg@...il.com>,
Tomas Bortoli <tomasbortoli@...il.com>
Subject: Re: [Patch net v2 2/3] bluetooth: validate HCI_EV_LE_META packet
carefully
As I explained in my email, the original code is buggy if
num_reports > 1 (probably uncommon), but your code is buggy for
num_reports >= 1 (everything).
regards,
dan carpenter
Powered by blists - more mailing lists