[libvirt] [PATCH] qemuBuildHostNetStr: Don't leak @addr

Laine Stump laine at laine.org
Thu Sep 21 16:32:49 UTC 2017


On 09/21/2017 10:58 AM, Peter Krempa wrote:
> On Thu, Sep 21, 2017 at 16:08:05 +0200, Michal Privoznik wrote:
>> On 09/21/2017 04:01 PM, Ján Tomko wrote:
>>> On Thu, Sep 21, 2017 at 02:55:12PM +0200, Michal Privoznik wrote:
> [...]
>
>>> ACK
>>>
>>> Looks like aiforaf in libvirt_nss.c could use the same treatment.
>> I've no idea what aiforaf mean.
> $ git grep aiforaf
>
> tools/nss/libvirt_nss.c:aiforaf(const char *name, int af, struct addrinfo *pai, struct addrinfo **aip)
> tools/nss/libvirt_nss.c:        aiforaf(name, AF_INET6, ai, &cur);
> tools/nss/libvirt_nss.c:        aiforaf(name, AF_INET, ai, &cur);

fwiw, ianal but that string of letters is such gibberish, I initially
thought it was an acronym :-)

(okay, I'll stfu now)




More information about the libvir-list mailing list