]> git.ipfire.org Git - thirdparty/qemu.git/commit
9p: null terminate fs driver options list
authorPrasad J Pandit <pjp@fedoraproject.org>
Thu, 9 Jul 2020 17:58:48 +0000 (23:28 +0530)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 9 Sep 2020 23:51:39 +0000 (18:51 -0500)
commitf2fd6555c71e0c67c907e2c3d808a4f52acd972f
treedf017e0c12e249637e67ac0563ce269f91d47d9c
parentf243bb4b0d6dab7da3ae8490e0f46054bae93816
9p: null terminate fs driver options list

NULL terminate fs driver options' list, validate_opt() looks for
a null entry to terminate the loop.

Fixes: aee7f3ecd8b7 ("fsdev: Error out when unsupported option is passed")
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Message-Id: <20200709175848.650400-1-ppandit@redhat.com>
Signed-off-by: Greg Kurz <groug@kaod.org>
(cherry picked from commit 353b5a91ccf2789b85967d19a8795816b8865562)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
fsdev/qemu-fsdev.c