mirror of
https://github.com/curl/curl.git
synced 2026-08-24 13:33:33 +03:00
libssh2: clarify that sshp->path is always at least one byte
Reported-by: Joshua Rogers Closes #18864
This commit is contained in:
parent
c3adf63ee7
commit
d4c0332677
2 changed files with 2 additions and 1 deletions
|
|
@ -100,6 +100,7 @@ CURLcode Curl_getworkingpath(struct Curl_easy *data,
|
|||
}
|
||||
else
|
||||
*path = working_path;
|
||||
DEBUGASSERT(*path && (*path)[0]);
|
||||
|
||||
return CURLE_OK;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue