Re: [PATCH] virtio-snd: Skip invalid message sizes and null streams

2024-03-22 Thread Manos Pitsidianakis
Hello Ma, On Thu, 21 Mar 2024 23:42, Zheyu Ma wrote: This update changes how virtio_snd_handle_tx_xfer handles message size discrepancies and null streams. Instead of using error handling paths which led to unnecessary processing and potential null pointer dereferences, the function now continu

[PATCH] virtio-snd: Skip invalid message sizes and null streams

2024-03-21 Thread Zheyu Ma
This update changes how virtio_snd_handle_tx_xfer handles message size discrepancies and null streams. Instead of using error handling paths which led to unnecessary processing and potential null pointer dereferences, the function now continues to the next loop iteration. ASAN log illustrating the