9p fixes for 5.1 2020-07-10
The following changes since commit b6d7e9b66f59ca6ebc6e9b830cd5e7bf849d31cf:
Merge remote-tracking branch 'remotes/stefanha/tags/tracing-pull-request' into staging (2020-07-10 09:01:28 +0100)
are available in the Git repository at:
https://github.com/gkurz/qemu.git tags/9p-fix-2020-07-10
for you to fetch changes up to 353b5a91ccf2789b85967d19a8795816b8865562:
9p: null terminate fs driver options list (2020-07-10 12:48:06 +0200)
----------------------------------------------------------------
Add missing NULL terminating element in fsdev option lists. Never crashed QEMU by pure luck.
----------------------------------------------------------------
Prasad J Pandit (1):
9p: null terminate fs driver options list
fsdev/qemu-fsdev.c | 3 +++ 1 file changed, 3 insertions(+)
Signature · 1 line
2.26.2
[PULL 1/1] 9p: null terminate fs driver options list
From: Prasad J Pandit <[email protected]>
NULL terminate fs driver options' list, validate_opt() looks for a null entry to terminate the loop.
Message-Id: <[email protected]>
--- fsdev/qemu-fsdev.c | 3 +++ 1 file changed, 3 insertions(+)
fsdev/qemu-fsdev.c +3 -0
@@ -78,6 +78,7 @@ static FsDriverTable FsDrivers[] = {"throttling.iops-read-max-length" ,"throttling.iops-write-max-length" ,"throttling.iops-size" , +NULL }, }, {
@@ -85,6 +86,7 @@ static FsDriverTable FsDrivers[] = { .ops = &synth_ops, .opts = (const char * []) { COMMON_FS_DRIVER_OPTIONS, + NULL }, }, {
@@ -95,6 +97,7 @@ static FsDriverTable FsDrivers[] = { "socket", "sock_fd", "writeout", +NULL }, }, };
Signature · 1 line
2.26.2
Peter Maydell
AppliedQuoted 17 lines · Greg Kurz
The following changes since commit
b6d7e9b66f59ca6ebc6e9b830cd5e7bf849d31cf:Merge remote-tracking branch 'remotes/stefanha/tags/tracing-pull-request' into staging (2020-07-10 09:01:28 +0100)
are available in the Git repository at:
https://github.com/gkurz/qemu.git tags/9p-fix-2020-07-10
for you to fetch changes up to
353b5a91ccf2789b85967d19a8795816b8865562:9p: null terminate fs driver options list (2020-07-10 12:48:06 +0200)
----------------------------------------------------------------
Add missing NULL terminating element in fsdev option lists. Never crashed QEMU by pure luck.
Quoted 7 lines
----------------------------------------------------------------
Prasad J Pandit (1):
9p: null terminate fs driver options listfsdev/qemu-fsdev.c | 3 +++ 1 file changed, 3 insertions(+)--
Applied, thanks.
Please update the changelog at https://wiki.qemu.org/ChangeLog/5.1
for any user-visible changes.
-- PMM