[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/4] ds1338 I2C RTC+NVRAM: various fixes
From: |
Peter Maydell |
Subject: |
[Qemu-devel] [PATCH 0/4] ds1338 I2C RTC+NVRAM: various fixes |
Date: |
Mon, 24 Sep 2012 19:33:11 +0100 |
Clang's static analyzer drew my attention to the mishandling of the
register pointer in ds1338_send(); one thing led to another and I fixed
a few other things while I was there.
There seems a reasonable chance that the overrun of nvram[] is
guest-exploitable, but I assume nobody treats realview or versatilepb
models as a security boundary...
Peter Maydell (4):
hw/ds1338: Fix mishandling of register pointer
hw/ds1338: Recapture current time when register pointer wraps around
hw/ds1338: Remove 'now' field from state struct
hw/ds1338: Implement state save/restore
hw/ds1338.c | 123 +++++++++++++++++++++++++++++++++++++++++------------------
1 file changed, 86 insertions(+), 37 deletions(-)
--
1.7.9.5
- [Qemu-devel] [PATCH 0/4] ds1338 I2C RTC+NVRAM: various fixes,
Peter Maydell <=