mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-06 09:41:04 +00:00
Merge pull request #4074 from fcharlie/master
fix examples/network/clone.c: heap-buffer-overflow
This commit is contained in:
commit
ffe259d9e5
@ -50,7 +50,7 @@ static int sideband_progress(const char *str, int len, void *payload)
|
|||||||
{
|
{
|
||||||
(void)payload; // unused
|
(void)payload; // unused
|
||||||
|
|
||||||
printf("remote: %*s", len, str);
|
printf("remote: %.*s", len, str);
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user