linux-user: fix undefined shift in copy_to_user_fdset
commit9ab709be595bef9956ea550a95e14e157cb5704e
authorAndreas Schwab <schwab@suse.de>
Tue, 9 Apr 2013 01:02:34 +0000 (9 01:02 +0000)
committerRiku Voipio <riku.voipio@linaro.org>
Fri, 19 Apr 2013 07:48:51 +0000 (19 10:48 +0300)
tree2430e9ef4a5bbcb87f44831a8271aec03a6d5539
parentc7128c9fd58ee92cae70c7cd1d53acc529cebbbb
linux-user: fix undefined shift in copy_to_user_fdset

If TARGET_ABI_BITS is bigger than 32 we shift by more than the size of int.

Signed-off-by: Andreas Schwab <schwab@suse.de>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/syscall.c