Pietro Borrello 3782c0d6ed HID: betop: check shape of output reports
betopff_init() only checks the total sum of the report counts for each
report field to be at least 4, but hid_betopff_play() expects 4 report
fields.
A device advertising an output report with one field and 4 report counts
would pass the check but crash the kernel with a NULL pointer dereference
in hid_betopff_play().

Fixes: 52cd7785f3cd ("HID: betop: add drivers/hid/hid-betopff.c")
Signed-off-by: Pietro Borrello <borrello@diag.uniroma1.it>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2023-01-18 16:34:35 +01:00
2022-12-13 13:20:36 -08:00
2022-12-13 10:43:59 -08:00
2022-12-13 10:43:59 -08:00
2022-12-12 17:28:58 -08:00
2022-12-13 10:43:59 -08:00
2022-12-12 17:28:58 -08:00
2022-12-13 10:43:59 -08:00
2022-12-13 12:49:59 -08:00
2022-12-13 10:43:59 -08:00
2022-12-13 09:47:48 -08:00
2022-12-04 01:59:16 +01:00
2022-12-13 09:14:50 -08:00
2022-12-13 13:13:55 -08:00
2022-12-13 09:47:48 -08:00
2022-12-13 11:27:26 -08:00
2022-12-13 11:27:26 -08:00
2022-12-12 09:01:36 -08:00
2022-12-12 17:28:58 -08:00
2022-09-28 09:02:20 +02:00
2022-10-10 12:00:45 -07:00

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
Linux kernel source tree
Readme 3.5 GiB
Languages
C 97.5%
Assembly 1%
Shell 0.6%
Python 0.3%
Makefile 0.3%