Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Tue, 26 Mar 2019 20:13:40 +0800
From: "周欣潼" <>
To: "musl" <>
Subject: freeaddrinfo() behavior change in 1.1.21: crash on NULL


We were testing connman with musl 1.1.21and hit this issue. The behavior change was introduced in Before the change, freeaddrinfo() accepts NULL since it just calls free(). Now it expects the input pointer to be valid.

I am writing to check whether this is expected. connman calls freeaddrinfo() regard less of the return code of getaddrinfo() and crashes when getaddrinfo() fails. The document of freeaddrinfo() does not explicitly state its behavior on NULL, but the wording seems to indicate the argument should be valid. If this interpretation is correct, we can proceed to patch connman.

Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.