Opened 11 years ago

Closed 11 years ago

#9895 closed bug (fixed)

[system/boot/platform/bios_ia32] acpi.cpp: Dereference of a null pointer

Reported by: mt Owned by: axeld
Priority: normal Milestone: R1
Component: System/Boot Loader Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

In acpi_check_rsdt(), if variable "rsdt" is NULL, length = rsdt->length causes dereference of a null pointer. Please see attached report.

Attachments (2)

0015-Fix-dereference-of-a-null-pointer.patch (1.3 KB ) - added by mt 11 years ago.
Patch
report-mq2NP5.html (38.3 KB ) - added by mt 11 years ago.
Report by Clang Static Analyzer

Download all attachments as: .zip

Change History (4)

comment:1 by mt, 11 years ago

patch: 01

by mt, 11 years ago

Attachment: report-mq2NP5.html added

Report by Clang Static Analyzer

comment:2 by korli, 11 years ago

Resolution: fixed
Status: newclosed

Applied a fix in hrev45899. Thanks!

Note: See TracTickets for help on using tickets.