From: Johan Hovold <johan@kernel.org>
To: Ian Abbott <abbotti@mev.co.uk>,
H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
Johan Hovold <johan@kernel.org>
Subject: [PATCH v2 0/2] comedi: misc fixes
Date: Wed, 27 Oct 2021 11:35:27 +0200 [thread overview]
Message-ID: <20211027093529.30896-1-johan@kernel.org> (raw)
This series fixes a number of issues in the comedi drivers that were
found through inspection.
Johan
Changes in v2:
- drop the three patches already applied
- move max-packet check after the ni_usb6501 endpoint lookup
- use a single transfer buffer for both TX and RX in dt9812 (suggested
by Ian Abbott)
Johan Hovold (2):
comedi: ni_usb6501: fix NULL-deref in command paths
comedi: dt9812: fix DMA buffers on stack
drivers/comedi/drivers/dt9812.c | 115 +++++++++++++++++++++-------
drivers/comedi/drivers/ni_usb6501.c | 10 +++
2 files changed, 96 insertions(+), 29 deletions(-)
--
2.32.0
next reply other threads:[~2021-10-27 9:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-27 9:35 Johan Hovold [this message]
2021-10-27 9:35 ` [PATCH v2 1/2] comedi: ni_usb6501: fix NULL-deref in command paths Johan Hovold
2021-10-28 9:44 ` Ian Abbott
2021-10-27 9:35 ` [PATCH v2 2/2] comedi: dt9812: fix DMA buffers on stack Johan Hovold
2021-10-28 9:45 ` Ian Abbott
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211027093529.30896-1-johan@kernel.org \
--to=johan@kernel.org \
--cc=abbotti@mev.co.uk \
--cc=gregkh@linuxfoundation.org \
--cc=hsweeten@visionengravers.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.