OSDN Git Service

Merge branch 'jk/ident-ai-canonname-could-be-null'
authorJunio C Hamano <gitster@pobox.com>
Thu, 29 Sep 2016 23:57:14 +0000 (16:57 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 29 Sep 2016 23:57:14 +0000 (16:57 -0700)
commitfff948fe0e24d8f537b91c1de0349dc2e105dcd9
treeaf687d705ee7bec7b2f20e8a7f65b4527b2dedbe
parent938c2a63212847bf87fc2a7076ccd4e15dfa3955
parentc375a7efa3a42afc51385659437f04027ed106b1
Merge branch 'jk/ident-ai-canonname-could-be-null'

In the codepath that comes up with the hostname to be used in an
e-mail when the user didn't tell us, we looked at ai_canonname
field in struct addrinfo without making sure it is not NULL first.

* jk/ident-ai-canonname-could-be-null:
  ident: handle NULL ai_canonname
ident.c