mirror of
https://github.com/a52xq-dev/kernel.git
synced 2026-10-18 21:58:11 +07:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
commit 4bd5ead82d4b877ebe41daf95f28cda53205b039 upstream.
Since the role_store() uses strncmp(), it's possible to refer
out-of-memory if the sysfs data size is smaller than strlen("host").
This patch fixes it by using sysfs_streq() instead of strncmp().
Reported-by: Pavel Machek <pavel@denx.de>
Fixes:
|
||
| .. | ||
| Kconfig | ||
| Makefile | ||
| phy-rcar-gen2.c | ||
| phy-rcar-gen3-pcie.c | ||
| phy-rcar-gen3-usb2.c | ||
| phy-rcar-gen3-usb3.c | ||