Merge branch 'jk/ident-ai-canonname-could-be-null' into maint
commit11738ddf4885c5bd02bdd3587c8765df70c3270e
authorJunio C Hamano <gitster@pobox.com>
Mon, 3 Oct 2016 20:22:32 +0000 (3 13:22 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Oct 2016 20:22:32 +0000 (3 13:22 -0700)
treea14711effe7a9f73d02c17e331c95b387240bf9b
parent3d0049ea359c88a6a3615e9f25a9bb613caff5b8
parentc375a7efa3a42afc51385659437f04027ed106b1
Merge branch 'jk/ident-ai-canonname-could-be-null' into maint

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