Skip to content

libssh: path length precaution#21193

Closed
bagder wants to merge 1 commit intomasterfrom
bagder/libssh-path-len
Closed

libssh: path length precaution#21193
bagder wants to merge 1 commit intomasterfrom
bagder/libssh-path-len

Conversation

@bagder
Copy link
Copy Markdown
Member

@bagder bagder commented Apr 1, 2026

Make sure the string is non-zero before indexing it -1. Right now, the path is always non-zero so this is more for (future) safety reasons.

Make sure the string is non-zero before indexing it -1. Right now, the
path is always non-zero so this is more for (future) safety reasons.
@bagder bagder added the SCP/SFTP label Apr 1, 2026
@testclutch
Copy link
Copy Markdown

Analysis of PR #21193 at fca67736:

Test 1569 failed, which has NOT been flaky recently, so there could be a real issue in this PR. Note that this test has failed in 2 different CI jobs (the link just goes to one of them).

Generated by Testclutch

@bagder bagder marked this pull request as ready for review April 2, 2026 07:55
@bagder bagder closed this in d888a53 Apr 2, 2026
@bagder bagder deleted the bagder/libssh-path-len branch April 2, 2026 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants