qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 353b5a: 9p: null terminate fs driver options


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 353b5a: 9p: null terminate fs driver options list
Date: Sat, 11 Jul 2020 09:00:25 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 353b5a91ccf2789b85967d19a8795816b8865562
      
https://github.com/qemu/qemu/commit/353b5a91ccf2789b85967d19a8795816b8865562
  Author: Prasad J Pandit <pjp@fedoraproject.org>
  Date:   2020-07-10 (Fri, 10 Jul 2020)

  Changed paths:
    M fsdev/qemu-fsdev.c

  Log Message:
  -----------
  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>


  Commit: d4a6bab1ecf23d86e20e2f08a144e4e48643a6e4
      
https://github.com/qemu/qemu/commit/d4a6bab1ecf23d86e20e2f08a144e4e48643a6e4
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2020-07-11 (Sat, 11 Jul 2020)

  Changed paths:
    M fsdev/qemu-fsdev.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/gkurz/tags/9p-fix-2020-07-10' into 
staging

Add missing NULL terminating element in fsdev option lists. Never
crashed QEMU by pure luck.

# gpg: Signature made Fri 10 Jul 2020 17:26:01 BST
# gpg:                using RSA key B4828BAF943140CEF2A3491071D4D5E5822F73D6
# gpg: Good signature from "Greg Kurz <groug@kaod.org>" [full]
# gpg:                 aka "Gregory Kurz <gregory.kurz@free.fr>" [full]
# gpg:                 aka "[jpeg image of size 3330]" [full]
# Primary key fingerprint: B482 8BAF 9431 40CE F2A3  4910 71D4 D5E5 822F 73D6

* remotes/gkurz/tags/9p-fix-2020-07-10:
  9p: null terminate fs driver options list

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/827937158b72...d4a6bab1ecf2



reply via email to

[Prev in Thread] Current Thread [Next in Thread]