Bug 1763
Summary: | Null pointer in acpi_ex_resolve_multiple | ||
---|---|---|---|
Product: | ACPI | Reporter: | Luming Yu (luming.yu) |
Component: | ACPICA-Core | Assignee: | Robert Moore (Robert.Moore) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | acpi-bugzilla |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.4 2.6 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: | a patch for solving panic |
Description
Luming Yu
2003-12-30 00:12:16 UTC
The panic is caused by below test case: Name (SXX0, Buffer(6) {1,2,3,4,5,6}) Method (SXX5, 2, NotSerialized) { Store("sizeof arg0", Debug) Store(sizeof(Arg0), Debug) Store("sizeof refof arg0",Debug) Store(sizeof(refof(Arg0)),Debug) If (LLESS(Arg1, sizeof(Arg0))) { CreateByteField(Arg0, Arg1, SX20) store("store sx20", Debug) Store(SX20, Debug) } } Method (_STA, 0, NotSerialized) { /* Store ("sizeof SXX0", Debug) Store (sizeof(SXX0), Debug) */ Store ("sizeof refof SXX0", Debug) Store (sizeof(refof(SXX0)), Debug) Store ("SXX5", Debug) SXX5 (SXX0, 2) } Created attachment 1768 [details]
a patch for solving panic
Maybe the more important thing is to fix bug which break evluate sizeof object
passed through arguments.
|