libgit2/examples/network
Patrick Steinhardt f0ca00e013 examples: network: refactor credentials callback
The credentials callback reads the username and password via scanf into
fixed-length arrays. While these are simply examples and as such not as
interesting, the unchecked return value of scanf causes GCC to emit
warnings. So while we're busy to shut up GCC, we also fix the possible
overflow of scanf by using getline instead.
2017-05-15 07:34:03 +02:00
..
.gitignore examples/network/.gitignore: ignore 'git2' 2011-11-06 20:07:27 -06:00
clone.c fix examples/network/clone.c: heap-buffer-overflow 2017-01-09 14:09:57 +08:00
common.c examples: network: refactor credentials callback 2017-05-15 07:34:03 +02:00
common.h Adding credentials callback to ls-remote and fetch too. 2013-09-01 19:00:16 +02:00
fetch.c examples: fix warnings in network/fetch.c 2016-10-10 09:04:42 +02:00
git2.c Restructured to be nicer example 2015-05-02 12:16:22 +02:00
index-pack.c update example to new packfile creation signature 2013-11-07 12:00:43 -06:00
ls-remote.c proxy: ask the user for credentials if necessary 2016-04-19 13:54:19 +02:00
Makefile Adding credentials callback to ls-remote and fetch too. 2013-09-01 19:00:16 +02:00