Skip to content

os400qc3: use ssh2_zero_free() in try_pem_load() - #2551

Closed
vszakats wants to merge 1 commit into
libssh2:masterfrom
vszakats:os4zerofree
Closed

vszakats wants to merge 1 commit into
libssh2:masterfrom
vszakats:os4zerofree

Conversation

@vszakats

Copy link
Copy Markdown
Member

Follow-up to a2ac6bd #2544

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Replaces manual sensitive-buffer cleanup in OS/400 PEM loading with the shared secure-free helper.

Changes:

  • Uses ssh2_zero_free() on success and retry paths.
  • Preserves nulling of data between retries.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@vszakats vszakats closed this in ecc8928 Aug 27, 2026
@vszakats
vszakats deleted the os4zerofree branch August 27, 2026 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants