From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 In-Reply-To: References: <1387451372-6881-1-git-send-email-dh.herrmann@gmail.com> <3109C2D8-E01C-4728-A593-1978BB3D202D@holtmann.org> Date: Wed, 29 Jan 2014 09:36:30 +0100 Message-ID: Subject: Re: [PATCH] Bluetooth: hidp: make sure input buffers are big enough From: David Herrmann To: Jiri Kosina Cc: Marcel Holtmann , "open list:HID CORE LAYER" , "linux-bluetooth@vger.kernel.org development" , "Gustavo F. Padovan" Content-Type: text/plain; charset=ISO-8859-1 List-ID: Hi On Tue, Jan 28, 2014 at 9:53 PM, Jiri Kosina wrote: > On Tue, 7 Jan 2014, Jiri Kosina wrote: > >> > > So doing kzalloc(rsize, GFP_ATOMIC) in the HID-core for now, and copying >> > > the buffer around, seems like only viable solution for now, with the >> > > outlook of removing this ugliness once hid-core honors 'size' properly. >> > >> > Should I resend the patches and move it to hid_input_report() for now? >> > Or are you getting something in yourself? >> >> Due to various reasons I will not have access to any testing HW for the >> upcoming 2-3 days, so if you can cook something up in that timeframe, it'd >> be appreciated. >> >> Otherwise I'll be working on it by the end of this week. > > David, > > just got back to this, finally ... did you have time to work on this at > all, or should I just start from scratch? Sorry, no. Fosdem is this weekend and I needed to get my code ready for that. But I'll finally have time again next week. Thanks David