Project

General

Profile

Bug #6990

scan_rsdp() should use signed len

Added by Toomas Soome over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
kernel
Start date:
2016-05-22
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:

Description

The scan_rsdp() is using size_t len to track area size, decremented by ACPI_RSDP_SCAN_STEP. As the initial length is arbitrary, the len should be signed.

#1

Updated by Electric Monk over 4 years ago

  • Status changed from New to Closed
  • % Done changed from 90 to 100

git commit e934136d865d15afd445bc37a6e4d692d0f054db

commit  e934136d865d15afd445bc37a6e4d692d0f054db
Author: Toomas Soome <tsoome@me.com>
Date:   2016-05-23T14:31:25.000Z

    6990 scan_rsdp() should use signed len
    Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
    Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
    Reviewed by: Garrett D'Amore <garrett@damore.org>
    Approved by: Dan McDonald <danmcd@omniti.com>

Also available in: Atom PDF