Skip to content

Commit 7f5cfba

Browse files
committed
fix
1 parent b55f400 commit 7f5cfba

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
1111

1212

1313

14-
## [0.98.4] - 2025-08-??
14+
## [0.98.4] - 2025-08-27
1515

1616
### Added
1717
- added failsafe mechanisms to the Kernel Isolator driver

MajorPrivacy/MajorPrivacy.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1567,8 +1567,10 @@ STATUS CMajorPrivacy::UnlockDrvConfig()
15671567
STATUS CMajorPrivacy::CommitDrvConfig()
15681568
{
15691569
uint32 uConfigStatus = theCore->Driver()->GetConfigStatus();
1570-
if ((uConfigStatus & CONFIG_STATUS_DIRTY) == 0) // nothign changed
1571-
return theCore->Driver()->DiscardConfigChanges(); // to relock the config
1570+
if ((uConfigStatus & CONFIG_STATUS_DIRTY) == 0) { // nothign changed
1571+
theCore->Driver()->DiscardConfigChanges(); // to relock the config
1572+
return OK;
1573+
}
15721574

15731575
if ((uConfigStatus & CONFIG_STATUS_PROTECTED) == 0)
15741576
return theCore->Driver()->StoreConfigChanges();

0 commit comments

Comments
 (0)