From: Kevin Wolf <kwolf@redhat.com>
To: Thomas Huth <thuth@redhat.com>
Cc: qemu-block@nongnu.org, Max Reitz <mreitz@redhat.com>,
qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v2] block/vvfat: Fix crash when reporting error about too many files in directory
Date: Thu, 4 Oct 2018 14:29:40 +0200 [thread overview]
Message-ID: <20181004122940.GB6009@localhost.localdomain> (raw)
In-Reply-To: <1532433124-25881-1-git-send-email-thuth@redhat.com>
Am 24.07.2018 um 13:52 hat Thomas Huth geschrieben:
> 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>
Thanks, applied to the block branch.
Kevin
prev parent reply other threads:[~2018-10-04 12:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-24 11:52 [Qemu-devel] [PATCH v2] block/vvfat: Fix crash when reporting error about too many files in directory Thomas Huth
2018-10-04 7:36 ` Thomas Huth
2018-10-04 12:29 ` Kevin Wolf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181004122940.GB6009@localhost.localdomain \
--to=kwolf@redhat.com \
--cc=mreitz@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).