service/pam: fix free of wrong pointer in pam subprocess messaging

This commit is contained in:
outfoxxed committed 2026-08-22 16:08:41 -07:00
1 parent 1a4716cde7
commit 0fed22a2c4
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
## Bug Fixes
- Fixed main process crashes on pam subprocess misbehavior.
+1 -1
View File
@@ -201,6 +201,6 @@ int PamSubprocess::conversation(
return PAM_SUCCESS;
fail:
free(responseArray); // NOLINT
free(responses); // NOLINT
_exit(1);
}