Skip to content
Snippets Groups Projects
user avatar
Jiri Kosina authored
The bound check on the buffer length

	if (count > HID_MIN_BUFFER_SIZE)

is of course incorrent, the proper check is

	if (count > HID_MAX_BUFFER_SIZE)

Fix it.

Reported-by: default avatarJerry Ryle <jerry@mindtribe.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
2b107d62
History
Name Last commit Last update