mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-09 22:39:38 +00:00
Commit 7affc2f7
removed var initialization
That commit accidentally removed the initialization of the "start" variable giving undefined results for the host extraction from the url input.
This commit is contained in:
parent
ad0af71575
commit
c87bf86cd7
@ -215,6 +215,7 @@ static int git_ssh_extract_url_parts(
|
|||||||
*username = git__substrdup(url, at - url);
|
*username = git__substrdup(url, at - url);
|
||||||
GITERR_CHECK_ALLOC(*username);
|
GITERR_CHECK_ALLOC(*username);
|
||||||
} else {
|
} else {
|
||||||
|
start = url;
|
||||||
*username = NULL;
|
*username = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user