diff options
author | 2023-12-19 19:38:36 -0800 | |
---|---|---|
committer | 2024-01-02 11:20:43 +0100 | |
commit | 43565b6788d46820da7d8f5ab1a595398419e914 (patch) | |
tree | e7ac8ed777fcc3d4dc55ade45d82ee80ebd313f2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | HID: hid-steam: Update list of identifiers from SDL (diff) | |
download | wireguard-linux-43565b6788d46820da7d8f5ab1a595398419e914.tar.xz wireguard-linux-43565b6788d46820da7d8f5ab1a595398419e914.zip |
HID: hid-steam: Better handling of serial number length
The second byte of the GET_STRING_ATTRIB report is a length, so we should set
the size of the buffer to be the size we're actually requesting, and only
reject the reply if the length out is nonsensical.
Signed-off-by: Vicki Pfau <vi@endrift.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions