summaryrefslogtreecommitdiff
path: root/src/diff_driver.c
diff options
context:
space:
mode:
authorWilliam Swanson <swansontec@gmail.com>2014-09-24 12:01:14 -0700
committerWilliam Swanson <swansontec@gmail.com>2014-09-24 12:01:14 -0700
commitd0cf1040c703c7131c7c70d9de6bc2dd78b25d57 (patch)
tree20ba34d8c440265b00695d2c87c226e0f6ac82e6 /src/diff_driver.c
parent2cd3cb8e03591e08c1cc1890ae5b82a498773f19 (diff)
downloadlibgit2-d0cf1040c703c7131c7c70d9de6bc2dd78b25d57.tar.gz
Correctly handle getaddrinfo return result
The getaddrinfo function indicates failure with a non-zero return code, but this code is not necessarily negative. On platforms like Android where the code is positive, a failed call causes libgit2 to segfault.
Diffstat (limited to 'src/diff_driver.c')
0 files changed, 0 insertions, 0 deletions