This fixes two of the four cases (1. and 4.) reported in: https://bugs.launchpad.net/qemu/+bug/1883083
The third case I attempted to fix looks a bit more complicated and I don't have the time right now to learn how vvfat really works, so let's merge these two patches at least. Kevin Wolf (2): vvfat: Check that updated filenames are valid vvfat: Fix array_remove_slice() block/vvfat.c | 65 ++++++++++++++++++++++----------------------------- 1 file changed, 28 insertions(+), 37 deletions(-) -- 2.25.4