VirtualBox

Opened 2 years ago

Closed 2 years ago

#21238 closed defect (fixed)

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 (2)

comment:1 by aeichner, 2 years ago

Summary: logical error in DBGFR3BpSetInt3Exlogical 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 2 years ago by aeichner (previous) (diff)

comment:2 by aeichner, 2 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette