If "offset" is non-zero then we end up copying from beyond the end of
the config because of pointer math. We can fix this by casting the
struct to a u8 pointer.
Fixes:
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| vdpa_sim.c | ||
If "offset" is non-zero then we end up copying from beyond the end of
the config because of pointer math. We can fix this by casting the
struct to a u8 pointer.
Fixes:
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| vdpa_sim.c | ||