commit | ad795d56ba3fb9d69f524ee676e3b1e2355cceb7 | [log] [tgz] |
---|---|---|
author | Rich Felker <dalias@aerifal.cx> | Wed Feb 20 17:58:21 2019 -0500 |
committer | Rich Felker <dalias@aerifal.cx> | Wed Feb 20 17:58:21 2019 -0500 |
tree | 4a4e17ac64b24c94c4329f6b042027b166e21d38 | |
parent | 224d938c5e538ac37f84c6e9a01bd2095aa7081a [diff] |
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.