diff options
author | Edward Thomson <ethomson@github.com> | 2017-01-11 11:52:06 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-11 11:52:06 +0000 |
commit | ffe259d9e52a472b172d9834ed44a98fd1ce4d1a (patch) | |
tree | 6e3312470894b9ebb68a613a1255ce25387b8135 | |
parent | ee89941fa2b861332defb5e3a8ce12c23c496ed7 (diff) | |
parent | 3fdba15c2f3fd8577dff6cbc61073b723136af4d (diff) | |
download | libgit2-ffe259d9e52a472b172d9834ed44a98fd1ce4d1a.tar.gz |
Merge pull request #4074 from fcharlie/master
fix examples/network/clone.c: heap-buffer-overflow
-rw-r--r-- | examples/network/clone.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/clone.c b/examples/network/clone.c index caf41cca8..540000bfd 100644 --- a/examples/network/clone.c +++ b/examples/network/clone.c @@ -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; } |