diff options
| author | Griffin Kroah-Hartman <griffin@kroah.com> | 2026-07-08 13:08:58 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-07-08 13:32:14 +0200 |
| commit | 95f90eea070837f7c72207d5520f805bdefc3bc5 (patch) | |
| tree | d7460906a32d3cbe05ab584f5cae28119b242f12 /rust/kernel | |
| parent | b9399d25fbb34a05bbe76eeedd730f62ff2670e9 (diff) | |
usb: gadget: function: rndis: add length check to response query
Add variable representations for BufLength and BufOffset in
rndis_query_response(), and perform a length check on them.
This is identical to how rndis_set_response() handles these parameters.
Assisted-by: gkh_clanker_2000
Cc: stable <stable@kernel.org>
Signed-off-by: Griffin Kroah-Hartman <griffin@kroah.com>
Link: https://patch.msgid.link/20260708-usb-gadget-rndis-v1-1-e77e026dcc6a@kroah.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions
