Dmitry Antipov <dmantipov@xxxxxxxxx> writes: > In 'ath10k_wmi_event_debug_print()', passing skb of the very weird > layout may produce debug output of the zero length. In such a case, > 'if (skb->data[i - 1] == '\n')' will trigger an access beyond skb data > boundaries. So fix this by adding an extra check whether at least one > byte of the debug output was really emitted. Compile tested only. > > Found by Linux Verification Center (linuxtesting.org) with SVACE. > > Suggested-by: Fedor Pchelkin <pchelkin@xxxxxxxxx> > Signed-off-by: Dmitry Antipov <dmantipov@xxxxxxxxx> Adding ath10k list. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches