summaryrefslogtreecommitdiffstats
path: root/qemu-io-cmds.c
diff options
context:
space:
mode:
authorThomas Huth2018-07-24 13:52:04 +0200
committerKevin Wolf2018-11-05 15:09:54 +0100
commita2b83a5165c567bb81fe4303d97a3cca5ccc8a15 (patch)
tree7df8da1cc0cbb35fc82d464fc60628c554cbb733 /qemu-io-cmds.c
parentMerge remote-tracking branch 'remotes/rth/tags/pull-softfloat-20181104' into ... (diff)
downloadqemu-a2b83a5165c567bb81fe4303d97a3cca5ccc8a15.tar.gz
qemu-a2b83a5165c567bb81fe4303d97a3cca5ccc8a15.tar.xz
qemu-a2b83a5165c567bb81fe4303d97a3cca5ccc8a15.zip
block/vvfat: Fix crash when reporting error about too many files in directory
When using the vvfat driver with a directory that contains too many files, QEMU currently crashes. This can be triggered like this for example: mkdir /tmp/vvfattest cd /tmp/vvfattest for ((x=0;x<=513;x++)); do mkdir $x; done qemu-system-x86_64 -drive \ file.driver=vvfat,file.dir=.,read-only=on,media=cdrom Seems like read_directory() is changing the mapping->path variable. Make sure we use the right pointer instead. Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-io-cmds.c')
0 files changed, 0 insertions, 0 deletions