# \[PATCH v2 0/2\] comedi: misc fixes

- From: Johan Hovold \<johan@kernel.org\>
- Date: 2021-10-27 09:37:04 
- List: linux-usb
- Page: https://ratatoskr.run/linux-usb/2021/10/1555474
- Thread: https://ratatoskr.run/linux-usb/2021/10/1555474/t.md

```text
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

```
