diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2016-07-18 16:30:36 +0100 |
|---|---|---|
| committer | Riku Voipio <riku.voipio@linaro.org> | 2016-09-21 14:25:53 +0300 |
| commit | ce9c139d93db03e464341385976606b7568b768f (patch) | |
| tree | f948812bc2eac2e2da2258b94a0461e0970059ea /linux-user/signal.c | |
| parent | 2ba7fae3bd688f5bb6cb08defc731d77e6bd943c (diff) | |
| download | focaccia-qemu-ce9c139d93db03e464341385976606b7568b768f.tar.gz focaccia-qemu-ce9c139d93db03e464341385976606b7568b768f.zip | |
linux-user: Range check the nfds argument to ppoll syscall
Do an initial range check on the ppoll syscall's nfds argument, to avoid possible overflow in the calculation of the lock_user() size argument. The host kernel will later apply the rather lower limit based on RLIMIT_NOFILE as appropriate. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user/signal.c')
0 files changed, 0 insertions, 0 deletions