diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2020-02-25 17:46:48 +0100 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2020-02-25 17:52:06 +0100 |
commit | d400f0b5b2d68c4148a7c173e7fbbfd9b377a660 (patch) | |
tree | 0d5ef4c9abaad91e02db1aad85108896abbeaf87 /go.mod | |
parent | 3d37dc639d87e4469a6457cf4592ff5b773d0777 (diff) | |
download | podman-d400f0b5b2d68c4148a7c173e7fbbfd9b377a660.tar.gz podman-d400f0b5b2d68c4148a7c173e7fbbfd9b377a660.tar.bz2 podman-d400f0b5b2d68c4148a7c173e7fbbfd9b377a660.zip |
rootless: fix segfault when open fd >= FD_SETSIZE
if there are more than FD_SETSIZE open fds passed down to the Podman
process, the initialization code could crash as it attempts to store
them into a fd_set. Use an array of fd_set structs, each of them
holding only FD_SETSIZE file descriptors.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'go.mod')
0 files changed, 0 insertions, 0 deletions