mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-05 22:55:47 +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
|
||||
|
||||
printf("remote: %*s", len, str);
|
||||
printf("remote: %.*s", len, str);
|
||||
fflush(stdout);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user