Messages in this thread | | | From | Linus Torvalds <> | Date | Mon, 21 Jun 2021 08:45:23 -0700 | Subject | Re: [PATCH] Input: joydev - prevent potential write out of bounds in ioctl |
| |
On Sun, Jun 20, 2021 at 10:25 PM Dmitry Torokhov <dmitry.torokhov@gmail.com> wrote: > > Yes, this makes sense to me and it is safe as joydev->keypam is > guaranteed to be the right size. > > Are you going to reformat this and resend or should I?
I don't have any hardware to test, so please consider that patch of mine more of a "I think something like this" rather than a real patch submission.
(I often find it easier to make a patch as a way to just make it very explicit what I think might be the solution, rather than just explaining it in English).
So please consider that patch throw-away - it's already gone from my tree.
And I don't need authorship for it: finding the problem - like Alexander did - or even just writing a good commit message is worth more than the patch itself, I think. The fix is a one-liner thing, the real work was finding the bug.
So if you do want to set me as author, you can add my sign-off, but you can just give credit to Alexander where it really belongs.
Linus
| |