From: Len Brown <lenb@kernel.org>
To: linux-acpi@vger.kernel.org
Cc: Lin Ming <ming.m.lin@intel.com>, Zhang Rui <rui.zhang@intel.com>,
Len Brown <len.brown@intel.com>
Subject: [PATCH 09/12] ACPI: fix boot oops regression in thermal
Date: Tue, 11 Mar 2008 02:51:46 -0400 [thread overview]
Message-ID: <c8d16e27a3601d1cbcdfe657eb4ff5e762019e8d.1205217406.git.len.brown@intel.com> (raw)
In-Reply-To: <1205218309-19695-1-git-send-email-lenb@kernel.org>
In-Reply-To: <b95e9e8d94484c2823be67416f25e9756db149dc.1205217406.git.len.brown@intel.com>
From: Lin Ming <ming.m.lin@intel.com>
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 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/acpi/utilities/utobject.c b/drivers/acpi/utilities/utobject.c
index 76ee766..e08b3fa 100644
--- 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);
}
--
1.5.4.3.422.g34cd6
next prev parent reply other threads:[~2008-03-11 6:54 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-11 6:51 ACPI patches for 2.6.25-rc5 Len Brown
2008-03-11 6:51 ` [PATCH 01/12] ACPI: fix section mismatch in processor_core.c:acpi_processor_hotplug_notify Len Brown
2008-03-11 6:51 ` [PATCH 02/12] acer-wmi: fix section mismatch warnings Len Brown
2008-03-11 6:51 ` [PATCH 03/12] ACPI: fix section mismatch in acpi_pci_root_add Len Brown
2008-03-11 6:51 ` [PATCH 04/12] sony-laptop.c: fix off-by-one Len Brown
2008-03-11 6:51 ` [PATCH 05/12] ACPI: Do not pass NULL to acpi_get_handle() when looking for _EJD Len Brown
2008-03-11 6:51 ` [PATCH 06/12] ACPI: prevent randconfig build failure on empty ACPI_CUSTOM_DSDT_FILE Len Brown
2008-03-11 6:51 ` [PATCH 07/12] ACPI: acpi_pci_set_power_state() cleanups Len Brown
2008-03-11 6:51 ` [PATCH 08/12] ACPI Exception (): AE_NOT_FOUND, Processor Device is not present (update) Len Brown
2008-03-11 6:51 ` Len Brown [this message]
2008-03-11 6:51 ` [PATCH 10/12] Revert "ACPI: EC: Use proper handle for boot EC" Len Brown
2008-03-11 6:51 ` [PATCH 11/12] ACPI: Fix a duplicate log level Len Brown
2008-03-11 6:51 ` [PATCH 12/12] ACPI: replace remaining __FUNCTION__ occurrences Len Brown
2008-03-11 8:05 ` ACPI patches for 2.6.25-rc5 Carlos Corbacho
2008-03-11 8:16 ` Zhang, Rui
2008-03-11 15:14 ` Henrique de Moraes Holschuh
2008-03-11 21:50 ` Len Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c8d16e27a3601d1cbcdfe657eb4ff5e762019e8d.1205217406.git.len.brown@intel.com \
--to=lenb@kernel.org \
--cc=len.brown@intel.com \
--cc=linux-acpi@vger.kernel.org \
--cc=ming.m.lin@intel.com \
--cc=rui.zhang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox