diff options
author | Handle X <xhandle@gmail.com> | 2006-08-15 01:37:27 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-08-16 18:08:06 -0400 |
commit | 5672bde6355f2d12c49df1eec083d25afe489063 (patch) | |
tree | 9e4713a72b26b0b92d2a381a65dbdc83abd0e621 /Documentation/cciss.txt | |
parent | 9f737633e6ee54fc174282d49b2559bd2208391d (diff) |
ACPI: hotkey.c fixes, fix for potential crash of hotkey.c
While going through the code, I found out some memory leaks and potential
crashes in drivers/acpi/hotkey.c Please find the patch to fix them.
This patch does the following,
1. Fixes memory leaks in error paths of hotkey_write_config
2. Fixes freeing unallocated pointers in the error paths of hotkey_write_config
3. Uses a loop instead of linear searching for parsing the userspace
input in get_params
4. Uses array of char * instead of passing 4 pointer parameters
explicitly into the init_{poll_}hotkey_* static functions
Signed-off-by: Andrew Morton <akpm@osdl.org>
Acked-by: Luming Yu <luming.yu@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'Documentation/cciss.txt')
0 files changed, 0 insertions, 0 deletions