projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f44bbb
)
ACPI: fix boot oops regression in thermal
author
Lin Ming
<ming.m.lin@intel.com>
Thu, 28 Feb 2008 23:38:54 +0000
(07:38 +0800)
committer
Len Brown
<len.brown@intel.com>
Tue, 11 Mar 2008 04:15:19 +0000
(
00:15
-0400)
Fix a memory overflow bug when copying
NULL internal package element object to external.
http://bugzilla.kernel.org/show_bug.cgi?id=10132
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/utilities/utobject.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/acpi/utilities/utobject.c
b/drivers/acpi/utilities/utobject.c
index 76ee766c84f948ed2d8749f06486338a792f7e05..e08b3fa6639f593c0c1d4c893d591be26d36243c 100644
(file)
--- a/
drivers/acpi/utilities/utobject.c
+++ b/
drivers/acpi/utilities/utobject.c
@@
-432,7
+432,7
@@
acpi_ut_get_simple_object_size(union acpi_operand_object *internal_object,
* element -- which is legal)
*/
if (!internal_object) {
- *obj_length =
0
;
+ *obj_length =
sizeof(union acpi_object)
;
return_ACPI_STATUS(AE_OK);
}