Revision 9a93b2fa0ed8de66a9deb9106ce5ddc2a65d68f0 authored by Prasad J Pandit on 30 October 2018, 15:23:56 UTC, committed by Peter Maydell on 02 November 2018, 14:03:33 UTC
The high[31:28] bits of 'direction' and 'state' registers of SA-1100/SA-1110 device are reserved. Setting them may lead to OOB 's->handler[]' array access issue. Mask off [31:28] bits to avoid it. Reported-by: Moguofang <moguofang@huawei.com> Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org> Message-id: 20181030114635.31232-1-ppandit@redhat.com Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
1 parent 22461bd
File | Mode | Size |
---|---|---|
Makefile.objs | -rw-r--r-- | 42 bytes |
client.c | -rw-r--r-- | 36.6 KB |
common.c | -rw-r--r-- | 5.5 KB |
nbd-internal.h | -rw-r--r-- | 3.1 KB |
server.c | -rw-r--r-- | 77.0 KB |
trace-events | -rw-r--r-- | 6.9 KB |
Computing file changes ...