Files
twx-linux/drivers
Johan Hovold eee92da3b0 ipack: ipoctal: fix missing allocation-failure check
commit 445c813272 upstream.

Add the missing error handling when allocating the transmit buffer to
avoid dereferencing a NULL pointer in write() should the allocation
ever fail.

Fixes: ba4dc61fe8 ("Staging: ipack: add support for IP-OCTAL mezzanine board")
Cc: stable@vger.kernel.org      # 3.5
Acked-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20210917114622.5412-5-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-10-06 15:31:25 +02:00
..
…
…
…
…
…
…
…
2021-07-20 16:15:55 +02:00
…
…
2021-09-22 11:47:54 +02:00
…
…
…
…
…
…
…
2021-08-26 08:36:46 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…