mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 13:30:52 +00:00
0b57007755
Currently replay_get_byte() does not check for an error from getc(). Coverity points out (CID 1390622) that this could result in unexpected behaviour (such as looping forever, if we use the replay_get_dword() return value for a loop count). We don't expect reads from the replay log to fail, and if they do there is no way we can continue. So make them fatal errors. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru> Message-id: 20181106153330.5139-1-peter.maydell@linaro.org |
||
---|---|---|
.. | ||
Makefile.objs | ||
replay-audio.c | ||
replay-char.c | ||
replay-events.c | ||
replay-input.c | ||
replay-internal.c | ||
replay-internal.h | ||
replay-net.c | ||
replay-snapshot.c | ||
replay-time.c | ||
replay.c |