android_kernel_sony_sdm845/drivers/amba
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Geert Uytterhoeven 00db063b0f FROMLIST: ARM: amba: Don't read past the end of sysfs "driver_override" buffer
When printing the driver_override parameter when it is 4095 and 4094
bytes long, the printing code would access invalid memory because we
need count + 1 bytes for printing.

Cfr. commits 4efe874aac ("PCI: Don't read past the end of sysfs
"driver_override" buffer") and bf563b01c2895a4b ("driver core: platform:
Don't read past the end of "driver_override" buffer").

Fixes: 3cf3857134 ("ARM: 8256/1: driver coamba: add device binding path 'driver_override'")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
(cherry picked from: https://patchwork.kernel.org/patch/10175611/)
Signed-off-by: Todd Kjos <tkjos@google.com>

Change-Id: I7a9fffc8e3cc775fcf693edae7b42d57c0a375c5
2018-03-07 20:31:15 +00:00
..
bus.c FROMLIST: ARM: amba: Don't read past the end of sysfs "driver_override" buffer 2018-03-07 20:31:15 +00:00
Kconfig amba: Hide TEGRA_AHB symbol 2015-11-24 16:47:25 +01:00
Makefile ARM: tegra: Add Tegra AHB driver 2012-05-08 13:30:49 -06:00
tegra-ahb.c ARM: 8334/1: amba: tegra-ahb: detect and correct bogus base address 2015-04-02 10:03:55 +01:00