summaryrefslogtreecommitdiff
path: root/include/resolv.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019-02-20 17:58:21 -0500
committerRich Felker <dalias@aerifal.cx>2019-02-20 17:58:21 -0500
commitad795d56ba3fb9d69f524ee676e3b1e2355cceb7 (patch)
tree4a4e17ac64b24c94c4329f6b042027b166e21d38 /include/resolv.h
parent224d938c5e538ac37f84c6e9a01bd2095aa7081a (diff)
downloadmusl-ad795d56ba3fb9d69f524ee676e3b1e2355cceb7.tar.gz
musl-ad795d56ba3fb9d69f524ee676e3b1e2355cceb7.tar.bz2
musl-ad795d56ba3fb9d69f524ee676e3b1e2355cceb7.tar.xz
musl-ad795d56ba3fb9d69f524ee676e3b1e2355cceb7.zip
fix spurious undefined behavior in getaddrinfo
addressing &out[k].sa was arguably undefined, despite &out[k] being defined the slot one past the end of an array, since the member access .sa is intervening between the [] operator and the & operator.
Diffstat (limited to 'include/resolv.h')
0 files changed, 0 insertions, 0 deletions