diff options
| author | Hugo SIMELIERE <[email protected]> | 2022-11-30 09:29:16 +0100 |
|---|---|---|
| committer | Marek Vasut <[email protected]> | 2022-12-08 14:30:39 +0100 |
| commit | 14dc0ab138988a8e45ffa086444ec8db48b3f103 (patch) | |
| tree | 3336abb6e57f66cd247b2267b5edcf63917a1540 /include | |
| parent | 14f2d087a3d6347ba0ff7a7e9aaff6955e53e7a8 (diff) | |
usb: gadget: dfu: Fix check of transfer direction
Commit fbce985e28eaca3af82afecc11961aadaf971a7e to fix CVE-2022-2347
blocks DFU usb requests.
The verification of the transfer direction was done by an equality
but it is a bit mask.
Signed-off-by: Hugo SIMELIERE <[email protected]>
Reviewed-by: Fabio Estevam <[email protected]>
Reviewed-by: Sultan Qasim Khan <[email protected]>
Reviewed-by: Marek Vasut <[email protected]>
Tested-by: Marek Vasut <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
