VirtualBox

Ticket #21238 (closed defect: fixed)

Opened 7 months ago

Last modified 6 months ago

logical error in DBGFR3BpSetInt3Ex => fixed in SVN/next 7.0.x maintenance

Reported by: yjh-styx Owned by:
Component: other Version: VirtualBox-7.0.2
Keywords: debugger Cc:
Guest type: all Host type: all

Description

Incorrect behavior when call DBGFR3BpSetInt3Ex for 'ALREADY_EXIST'adress, but without DBGF_BP_F_ENABLED in fFlags.

Minimal fixed patch is: --- VirtualBox-7.0.2/src/VBox/VMM/VMMR3/DBGFR3Bp.cpp.orig Wed Oct 19 21:29:54 2022 +++ VirtualBox-7.0.2/src/VBox/VMM/VMMR3/DBGFR3Bp.cpp Thu Nov 03 19:44:32 2022 @@ -2197,7 +2197,7 @@

&& pBp->Pub.u.Int3.PhysAddr == GCPhysBpAddr)

{

rc = VINF_SUCCESS;

  • if (!DBGF_BP_PUB_IS_ENABLED(&pBp->Pub))

+ if (!DBGF_BP_PUB_IS_ENABLED(&pBp->Pub) && (fFlags & DBGF_BP_F_ENABLED))

rc = dbgfR3BpArm(pUVM, hBp, pBp);

if (RT_SUCCESS(rc)) {

Change History

comment:1 Changed 7 months ago by aeichner

  • Summary changed from logical error in DBGFR3BpSetInt3Ex to logical error in DBGFR3BpSetInt3Ex => fixed in SVN/next 7.0.x maintenance

You are right, thanks for the report! This will be fixed in the next maintenance release.

Last edited 7 months ago by aeichner (previous) (diff)

comment:2 Changed 6 months ago by aeichner

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use