Skip to content

[v11] pam: free conversation buffer on error#30519

Merged
zmb3 merged 1 commit into
branch/v11from
bot/backport-30466-branch/v11
Aug 16, 2023
Merged

[v11] pam: free conversation buffer on error#30519
zmb3 merged 1 commit into
branch/v11from
bot/backport-30466-branch/v11

Conversation

@zmb3
Copy link
Copy Markdown
Collaborator

@zmb3 zmb3 commented Aug 15, 2023

Backport #30466 to branch/v11

As per pam_conv(3):

> On failure, the conversation function should release any resources
> it has allocated, and return one of the predefined PAM error codes.

Fixes gravitational/teleport-private#661
@zmb3 zmb3 added this pull request to the merge queue Aug 15, 2023
Merged via the queue into branch/v11 with commit b40074d Aug 16, 2023
@zmb3 zmb3 deleted the bot/backport-30466-branch/v11 branch August 16, 2023 00:13
This was referenced Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants