summaryrefslogtreecommitdiffstats
path: root/fs/udf
diff options
context:
space:
mode:
authorPaulo Marques <pmarques@grupopie.com>2005-03-31 05:39:49 +0200
committerLen Brown <len.brown@intel.com>2005-07-12 05:58:45 +0200
commitd1dd0c23916bd781de27bc5ec1c295064e9ce9cc (patch)
tree8a817dfc450af2d2233533dc44593d33e2117eb5 /fs/udf
parent[ACPI] fix potential NULL dereference in acpi/video.c (diff)
downloadlinux-d1dd0c23916bd781de27bc5ec1c295064e9ce9cc.tar.xz
linux-d1dd0c23916bd781de27bc5ec1c295064e9ce9cc.zip
[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>
Diffstat (limited to 'fs/udf')
0 files changed, 0 insertions, 0 deletions