diff options
author | Dean Deng <deandeng@google.com> | 2019-12-20 08:43:15 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-12-20 08:44:53 -0800 |
commit | 822d847ccaa1e6016b818bee289b5e33335f9fee (patch) | |
tree | 1ac3d9a4eac9b02b4be10b6212f9132c3c6c2164 /pkg/sentry/fsimpl/ext/file_description.go | |
parent | 29955a4797e8264f75886a989dbc81b2b5443f4c (diff) |
Check for valid nfds before copying in an fd set.
Otherwise, CopyInFDSet will try to allocate a negative-length slice.
PiperOrigin-RevId: 286584907
Diffstat (limited to 'pkg/sentry/fsimpl/ext/file_description.go')
0 files changed, 0 insertions, 0 deletions