Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: usb: pegasus: Check the return value of get_geristers() and frie…
…nds; [ Upstream commit 8a160e2 ] Certain call sites of get_geristers() did not do proper error handling. This could be a problem as get_geristers() typically return the data via pointer to a buffer. If an error occurred the code is carelessly manipulating the wrong data. Signed-off-by: Petko Manolov <petkan@nucleusys.com> Reviewed-by: Pavel Skripkin <paskripkin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information
Petko Manolov
authored and
Sasha Levin
committed
Aug 26, 2021
1 parent
6b36841
commit 735e613
Showing
1 changed file
with
75 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters