diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2016-07-12 13:02:13 +0100 |
|---|---|---|
| committer | Riku Voipio <riku.voipio@linaro.org> | 2016-09-21 14:26:46 +0300 |
| commit | 3211215e741f6e4824ddfc4919428e8d1b82a3c2 (patch) | |
| tree | 9bb45e35c26d562237e8d4f40f485e10756f51a6 /hw/timer/lm32_timer.c | |
| parent | 68754b442b756e8cb5f143b00937fb7330a51a81 (diff) | |
| download | focaccia-qemu-3211215e741f6e4824ddfc4919428e8d1b82a3c2.tar.gz focaccia-qemu-3211215e741f6e4824ddfc4919428e8d1b82a3c2.zip | |
linux-user: Check lock_user() return value for NULL
lock_user() can return NULL, which typically means the syscall should fail with EFAULT. Add checks in various places where Coverity spotted that we were missing them. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'hw/timer/lm32_timer.c')
0 files changed, 0 insertions, 0 deletions