2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 04:34:11 +08:00
linux-next/drivers/of
Grant Likely 355e62f5ad of/irq: Fix potential buffer overflow
Commit 2361613206, "of/irq: Refactor interrupt-map parsing" introduced
a potential buffer overflow bug because it doesn't do sufficient range
checking on the input data. This patch adds the appropriate checking and
buffer size adjustments. If the bounds are out of range then warn
loudly. MAX_PHANDLE_ARGS should be sufficient. If it is not then the
value can be increased.

Signed-off-by: Grant Likely <grant.likely@linaro.org>
Cc: Rob Herring <rob.herring@calxeda.com>
2013-11-03 23:16:43 +00:00
..
address.c of/irq: Rename of_irq_map_* functions to of_irq_parse_* 2013-10-24 11:40:59 +01:00
base.c of: Add helper for printing an of_phandle_args structure 2013-10-24 11:43:13 +01:00
device.c of: Output devicetree alias names in uevent 2013-02-06 11:06:35 +00:00
fdt.c Device tree core updates for v3.12 2013-09-10 13:53:52 -07:00
irq.c of/irq: Fix potential buffer overflow 2013-11-03 23:16:43 +00:00
Kconfig Merge branch 'for-v3.12' of git://git.linaro.org/people/mszyprowski/linux-dma-mapping 2013-09-09 10:26:33 -07:00
Makefile Merge branch 'for-v3.12' of git://git.linaro.org/people/mszyprowski/linux-dma-mapping 2013-09-09 10:26:33 -07:00
of_mdio.c net: of_mdio: fix behavior on missing phy device 2013-05-08 13:13:29 -07:00
of_mtd.c of: mtd: nuke useless const qualifier 2012-07-10 10:32:06 -05:00
of_net.c of: Make of_get_phy_mode() return int i.s.o. const int 2013-08-28 20:50:19 +01:00
of_pci_irq.c of/irq: Create of_irq_parse_and_map_pci() to consolidate arch code. 2013-10-24 11:50:36 +01:00
of_pci.c of: pci: add registry of MSI chips 2013-08-12 15:27:01 +00:00
of_private.h of: Output devicetree alias names in uevent 2013-02-06 11:06:35 +00:00
of_reserved_mem.c drivers: of: fix build break if asm/dma-contiguous.h is missing 2013-09-10 15:43:40 +02:00
pdt.c open firmware: "/aliasas" -> "/aliases" 2013-06-18 13:46:26 +02:00
platform.c Device tree core updates for v3.12 2013-09-10 13:53:52 -07:00
selftest.c of/irq: create interrupts-extended property 2013-10-28 16:48:14 -07:00