[haiku-commits] Re: r42103 - haiku/trunk/src/system/boot/platform/bios_ia32

  • From: Stefano Ceccherini <stefano.ceccherini@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 11 Jun 2011 22:03:28 +0200

2011/6/11  <anevilyak@xxxxxxxxx>:
> Author: anevilyak
> Date: 2011-06-11 20:38:15 +0200 (Sat, 11 Jun 2011)
> New Revision: 42103
> Changeset: https://dev.haiku-os.org/changeset/42103
>
> Modified:
>   haiku/trunk/src/system/boot/platform/bios_ia32/acpi.cpp
> Log:
> If we found a header, but it wasn't the one we were looking for, reset the 
> header ptr to NULL after unmapping. Otherwise a bogus header pointer was 
> potentially returned, leading to an invalid mem access. Fixes boot problems 
> on my Athlon following recent ACPI changes.

Nice catch!

Other related posts: