diff options
author | Prasad J Pandit <pjp@fedoraproject.org> | 2016-10-12 18:07:41 +0530 |
---|---|---|
committer | Yongbok Kim <yongbok.kim@imgtec.com> | 2017-03-20 11:19:55 +0000 |
commit | c0a3172fa6bbddcc73192f2a2c48d0bf3a7ba61c (patch) | |
tree | 353de1e031db28de89471cc3bd3470e6dec83673 /cputlb.c | |
parent | 075a1fe788d36b271ec25507466c30b9a90b5d54 (diff) | |
download | qemu-c0a3172fa6bbddcc73192f2a2c48d0bf3a7ba61c.zip qemu-c0a3172fa6bbddcc73192f2a2c48d0bf3a7ba61c.tar.gz qemu-c0a3172fa6bbddcc73192f2a2c48d0bf3a7ba61c.tar.bz2 |
dma: rc4030: limit interval timer reload value
The JAZZ RC4030 chipset emulator has a periodic timer and
associated interval reload register. The reload value is used
as divider when computing timer's next tick value. If reload
value is large, it could lead to divide by zero error. Limit
the interval reload value to avoid it.
Reported-by: Huawei PSIRT <psirt@huawei.com>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Tested-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Yongbok Kim <yongbok.kim@imgtec.com>
Diffstat (limited to 'cputlb.c')
0 files changed, 0 insertions, 0 deletions