From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Carpenter Date: Fri, 05 Apr 2019 21:23:04 +0000 Subject: Re: [PATCH] Bluetooth: hci_event: potential out of bounds parsing ADV events Message-Id: <20190405212304.GW32613@kadam> List-Id: References: <20190402063313.GA32613@kadam> <20190402195537.GF32613@kadam> <20190404080627.GG32590@kadam> <20190405204838.GR32590@kadam> <5344bfc8-ba02-c17f-c4cd-0418d48e6fdd@gmail.com> <20190405211414.GT32590@kadam> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Tomas Bortoli Cc: Cong Wang , Marcel Holtmann , Jaganath Kanakkassery , Johan Hedberg , linux-bluetooth , kernel-janitors@vger.kernel.org I only deleted one unlikely() from around an unlikely(!pskb_may_pull()) check. I made sure that the line numbers and debug symbols all stayed exactly the same... I just re-ran my experiment with the same results. It's weird that you're getting different object code. This stuff isn't a new feature in GCC, it's at least 10 years old. regards, dan carpenter