mirror of https://github.com/xemu-project/xemu.git
![]() Since the presence of a hot add memory region is optional in hot add request message it wasn't part of this message declaration (struct dm_hot_add). Instead, the code allocated such enlarged message by simply adding the necessary size for this extra field to the size of basic hot add message struct. However, Coverity considers accessing this extra member to be an out-of-bounds access, even thought the memory is actually there. Fix this by adding an extended variant of this message that explicitly has an additional union dm_mem_page_range at its end. CID: #1523903 Signed-off-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com> |
||
---|---|---|
.. | ||
Kconfig | ||
hv-balloon-internal.h | ||
hv-balloon-our_range_memslots.c | ||
hv-balloon-our_range_memslots.h | ||
hv-balloon-page_range_tree.c | ||
hv-balloon-page_range_tree.h | ||
hv-balloon-stub.c | ||
hv-balloon.c | ||
hyperv.c | ||
hyperv_testdev.c | ||
meson.build | ||
syndbg.c | ||
trace-events | ||
trace.h | ||
vmbus.c |