linux/drivers/acpi
Paulo Marques d1dd0c2391 [ACPI] fix kmalloc size bug in acpi/video.c
acpi_video_device_find_cap() used &p instead of *p
when calculating storage size, thus allocating
only 4 or 8 bytes instead of 12...

Also, kfree(NULL) is legal, so remove some unneeded checks.

From: Paulo Marques <pmarques@grupopie.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
2005-07-11 23:58:45 -04:00
..
dispatcher Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
events Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
executer Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hardware Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
namespace Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
parser Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
resources Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sleep [ACPI] ACPI poweroff fix 2005-07-11 23:20:49 -04:00
tables Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
utilities Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ac.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
acpi_memhotplug.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asus_acpi.c [ACPI] generic Hot Key support 2005-07-11 23:27:04 -04:00
battery.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
blacklist.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bus.c [ACPI] pci_set_power_state() now calls 2005-07-11 23:47:06 -04:00
button.c [ACPI] Allow simultaneous Fixed Feature and Control Method buttons 2005-07-11 23:17:07 -04:00
container.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
debug.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ec.c [ACPI] fix build warning 2005-07-11 23:56:57 -04:00
event.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fan.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
glue.c [ACPI] Bind PCI devices with ACPI devices 2005-07-11 23:28:24 -04:00
hotkey.c [ACPI] generic Hot Key support 2005-07-11 23:27:04 -04:00
ibm_acpi.c [ACPI] Bind PCI devices with ACPI devices 2005-07-11 23:28:24 -04:00
Kconfig [ACPI] generic Hot Key support 2005-07-11 23:27:04 -04:00
Makefile [ACPI] Bind PCI devices with ACPI devices 2005-07-11 23:28:24 -04:00
motherboard.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
numa.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
osl.c [ACPI] generic Hot Key support 2005-07-11 23:27:04 -04:00
pci_bind.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pci_irq.c [PATCH] VIA IRQ quirk 2005-05-27 08:15:04 -07:00
pci_link.c [ACPI] S3 Suspend to RAM: interrupt resume fix 2005-07-11 23:22:52 -04:00
pci_root.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
power.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
processor_core.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
processor_idle.c [PATCH] Change synchronize_kernel to _rcu and _sched 2005-05-01 08:59:04 -07:00
processor_perflib.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
processor_thermal.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
processor_throttling.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scan.c [PATCH] DocBook: fix some descriptions 2005-05-01 08:59:26 -07:00
system.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tables.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
thermal.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
toshiba_acpi.c [ACPI] check for kmalloc failure in toshiba_acpi.c 2005-07-11 23:57:35 -04:00
utils.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
video.c [ACPI] fix kmalloc size bug in acpi/video.c 2005-07-11 23:58:45 -04:00