diff options
author | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-09-30 18:35:33 +0200 |
---|---|---|
committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-10-01 00:41:09 +0200 |
commit | a28889198cf9565944aa0ff983459c6bf6eec311 (patch) | |
tree | e4d3422690b3380e400e812a2a9062b69eaf1880 /include/git2/commit.h | |
parent | ccc9872d4df7ca6cd44f777c0600c4b1fab0f9e6 (diff) | |
download | libgit2-a28889198cf9565944aa0ff983459c6bf6eec311.tar.gz |
local transport: don't segfault on wrong URL
memset the structure on initialisation and don't try to dereference
the vector with the heads if we didn't find a repository.
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Diffstat (limited to 'include/git2/commit.h')
0 files changed, 0 insertions, 0 deletions