diff options
author | Rich Felker <dalias@aerifal.cx> | 2019-02-20 17:58:21 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2019-02-20 17:58:21 -0500 |
commit | ad795d56ba3fb9d69f524ee676e3b1e2355cceb7 (patch) | |
tree | 4a4e17ac64b24c94c4329f6b042027b166e21d38 /src/unistd/getpgrp.c | |
parent | 224d938c5e538ac37f84c6e9a01bd2095aa7081a (diff) | |
download | musl-ad795d56ba3fb9d69f524ee676e3b1e2355cceb7.tar.gz 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 'src/unistd/getpgrp.c')
0 files changed, 0 insertions, 0 deletions