Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Fix sploitMixin bug that doesn’t properly close service handles. #137

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion exploit/ipc.js
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ sploitMixin.getServices = function(services, callback) {
try {
return callback.apply(undefined, serviceHandles);
} finally {
for (var shi = 0; si < serviceHandles.length; shi++) {
for (var shi = 0; shi < serviceHandles.length; shi++) {
this.svcCloseHandle(serviceHandles[shi]);
}
}
Expand Down