Skip to content

Conversation

@bagder
Copy link
Member

@bagder bagder commented Oct 19, 2025

This function could previously accidentally return true and a NULL path if only whitespace was provided as argument.

Also, make it stricter and do not allow CR or LF within the string.

Use more strparse parsing.

Drop the comment saying this is from OpenSSH as it has now been rewritten since then.

@bagder bagder marked this pull request as ready for review October 19, 2025 13:11
This function could previously accidentally return true and a NULL path
if only whitespace was provided as argument.

Also, make it stricter and do not allow CR or LF within the string.

Use more strparse parsing.

Drop the comment saying this is from OpenSSH as it has now been
rewritten since then.

Closes #19141
@github-actions github-actions bot added the tests label Oct 19, 2025
@bagder bagder closed this in 976333d Oct 19, 2025
@bagder bagder deleted the bagder/curl-path branch October 19, 2025 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant