Commit ffe259d9 by Edward Thomson Committed by GitHub

Merge pull request #4074 from fcharlie/master

fix examples/network/clone.c: heap-buffer-overflow
parents ee89941f 3fdba15c
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment