about summary refs log tree commit diff
path: root/src/unistd/getpgrp.c
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 /src/unistd/getpgrp.c
parent224d938c5e538ac37f84c6e9a01bd2095aa7081a (diff)
downloadmusl-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