[vbox-dev] Bug report (major)
Frank Mehnert
Frank.Mehnert at Sun.COM
Mon May 3 05:40:51 PDT 2010
On Saturday 01 May 2010, Frank Mehnert wrote:
> On Friday 30 April 2010, TwoThe wrote:
> > Type: Bug
> > Severity: major
> > Component: VirtualBox OSE
> > Host: Ubuntu 64
> >
> > In file src/VBox/Devices/PC/DevAPIC.cpp:
> >
> > 919 case 0x30:
> > 920 /* Here one of the differences with regular APIC: ICR
> > is single 64-bit register */ !921 val =
> > ((uint64_t)apic->icr[0x31] << 32) | apic->icr[0x30]; 922
> > break;
> >
> > In line 921 APICState->icr is accessed at address 0x31 and 0x30 but icr
> > has only 2 elements, as defined here (in the same file): 219 uint32_t
> > icr[2];
> >
> > This causes an invalid memory access.
>
> Thank you for this report!
>
> Your observation is corect and the code will be fixed.
Fixed in r28952. Code currently unused.
Kind regards,
Frank
--
Dr.-Ing. Frank Mehnert
Sitz der Gesellschaft:
Sun Microsystems GmbH, Sonnenallee 1, 85551 Kirchheim-Heimstetten
Amtsgericht München: HRB 161028
Geschäftsführer: Jürgen Kunz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://www.virtualbox.org/pipermail/vbox-dev/attachments/20100503/2f9c75da/attachment-0001.bin
More information about the vbox-dev
mailing list